Phoenix2D-Library
0.10
|
World
The World lorem Ipsum
More...
#include <World.h>
Public Member Functions | |
World () | |
~World () | |
void | updateWorld () |
void | updateWorld (std::list< Player > players, Ball ball) |
void | updateObserverWorld (std::list< Player > players, Ball ball) |
WorldModel | getWorldModel () |
Phoenix::World::~World | ( | ) |
Definition at line 37 of file World.cpp.
References Phoenix::Config::VERBOSE.
WorldModel Phoenix::World::getWorldModel | ( | ) |
Definition at line 104 of file World.cpp.
References Phoenix::ball, and Phoenix::players.
Definition at line 99 of file World.cpp.
References Phoenix::ball, and Phoenix::players.
Referenced by Phoenix::Parser::parseMessage().
void Phoenix::World::updateWorld | ( | ) |
Definition at line 41 of file World.cpp.
References Phoenix::Self::getPosition(), Phoenix::players, and Phoenix::Self::VIEW_MODE_WIDTH.
Referenced by Phoenix::process_see(), and Phoenix::process_sense_body().
Definition at line 57 of file World.cpp.
References Phoenix::ball, Phoenix::Player::boundTo(), Phoenix::Position::getDistanceTo(), Phoenix::Player::getPosition(), Phoenix::Self::getPosition(), Phoenix::Player::getPretenderFront(), Phoenix::Config::PLAYER_HISTORY, Phoenix::players, Phoenix::Player::pretendToBound(), and Phoenix::Self::VIEW_MODE_WIDTH.