![]() |
LogDoctor 2.00
Parse Apache2/Nginx/IIS logs and create statistics
|
Public Member Functions | |
const unsigned int & | X () |
Returns the position on the X-axis. | |
const unsigned int & | Y () |
Returns the position on the Y-axis. More... | |
const bool | inTile (const unsigned int &x, const unsigned int &y) |
Checks whether is there a part of the snake in the given position. | |
void | spawn (Snake &snake, Snake &snake_) |
Spawns the egg/rat in a new position. | |
void | move (Snake &snake) |
Moves the rat. | |
void | update (const unsigned int &new_x, const unsigned int &new_y) |
Updates the position and direction of the entity. | |
const unsigned int & Food::Y | ( | ) |
Returns the position on the Y-axis.
Returns the image