Phoenix2D-Library
0.10
|
WorldModel
The WorldModel lorem Ipsum
More...
#include <WorldModel.h>
Public Member Functions | |
WorldModel (std::list< Player > players, Ball ball) | |
~WorldModel () | |
std::list< Player * > | getPlayers () |
std::list< Player * > | getPlayersOrderedByDistanceTo (Position position) |
std::list< Player * > | getOurPlayers () |
std::list< Player * > | getOurPlayersOrderedByDistanceTo (Position position) |
std::list< Player * > | getOppPlayers () |
std::list< Player * > | getOppPlayersOrderedByDistanceTo (Position position) |
std::list< Player * > | getUndPlayers () |
std::list< Player * > | getUndPlayersOrderedByDistanceTo (Position position) |
Ball * | getBall () |
Private Attributes | |
std::list< Player > | players |
Ball | ball |
WorldModel
The WorldModel lorem Ipsum
Definition at line 38 of file WorldModel.h.
Definition at line 33 of file WorldModel.cpp.
Phoenix::WorldModel::~WorldModel | ( | ) |
Definition at line 38 of file WorldModel.cpp.
Ball * Phoenix::WorldModel::getBall | ( | ) |
Definition at line 126 of file WorldModel.cpp.
References ball.
std::list< Player * > Phoenix::WorldModel::getOppPlayers | ( | ) |
Definition at line 82 of file WorldModel.cpp.
References players.
Definition at line 92 of file WorldModel.cpp.
References Phoenix::compareDistances(), players, and Phoenix::positionToCompare.
std::list< Player * > Phoenix::WorldModel::getOurPlayers | ( | ) |
Definition at line 60 of file WorldModel.cpp.
References players.
Definition at line 70 of file WorldModel.cpp.
References Phoenix::compareDistances(), players, and Phoenix::positionToCompare.
std::list< Player * > Phoenix::WorldModel::getPlayers | ( | ) |
Definition at line 42 of file WorldModel.cpp.
References players.
Referenced by Phoenix::Trainer::execute(), Phoenix::PlayOn::onPlayerExecute(), and Phoenix::PlayOn::setup().
Definition at line 50 of file WorldModel.cpp.
References Phoenix::compareDistances(), players, and Phoenix::positionToCompare.
std::list< Player * > Phoenix::WorldModel::getUndPlayers | ( | ) |
Definition at line 104 of file WorldModel.cpp.
References players.
Definition at line 114 of file WorldModel.cpp.
References Phoenix::compareDistances(), players, and Phoenix::positionToCompare.
|
private |
Definition at line 40 of file WorldModel.h.
Referenced by getBall(), and WorldModel().
|
private |
Definition at line 39 of file WorldModel.h.
Referenced by getOppPlayers(), getOppPlayersOrderedByDistanceTo(), getOurPlayers(), getOurPlayersOrderedByDistanceTo(), getPlayers(), getPlayersOrderedByDistanceTo(), getUndPlayers(), getUndPlayersOrderedByDistanceTo(), and WorldModel().