#include <Pinky.h>
|
| | Pinky (float x, float y, int direction, std::shared_ptr< Intersection > destination) |
| |
| | ~Pinky () |
| |
| std::shared_ptr< Intersection > | getDestination () |
| |
| void | setDestination (std::shared_ptr< Intersection > dest) |
| |
| Tile | getOrig () |
| |
| | Ghosts (float x, float y, int direction, Tile target, int dotCounter) |
| |
| | ~Ghosts () |
| |
| void | move (int pacmanX, int pacmanY, std::shared_ptr< Intersection > dest, int dotEaten) |
| | move the ghost Plus de détails...
|
| |
| void | render (int frame, SDL_Renderer *renderer, SDL_Texture *texture) |
| | render the ghost Plus de détails...
|
| |
| void | setMode (int mode) |
| |
| int | getMode () |
| |
| | Entity (float x, float y, int direction) |
| |
| void | setDirection (int d) |
| |
| float | getX () const |
| |
| float | getY () const |
| |
◆ Pinky()
| Pinky::Pinky |
( |
float |
x, |
|
|
float |
y, |
|
|
int |
direction, |
|
|
std::shared_ptr< Intersection > |
destination |
|
) |
| |
◆ ~Pinky()
◆ getDestination()
◆ getGoalTile()
| Tile Pinky::getGoalTile |
( |
int |
pacmanX, |
|
|
int |
pacmanY |
|
) |
| |
|
privatevirtual |
Get the Goal Tile object.
Pinky's goal tile is 4 tiles ahead of Pacman's current tile
- Paramètres
-
- Renvoie
- Tile
Implémente Ghosts.
◆ getOrig()
◆ setDestination()
| void Pinky::setDestination |
( |
std::shared_ptr< Intersection > |
dest | ) |
|
|
virtual |
◆ dest
◆ scatterTarget
| Tile Pinky::scatterTarget |
|
private |
La documentation de cette classe a été générée à partir du fichier suivant :