Pacman  1.0
Pacman game
Pinky.h
Aller à la documentation de ce fichier.
1 #ifndef PINKY_H
2 #define PINKY_H
3 
4 #include "Entity.h"
5 #include "Ghosts.h"
6 #include "constants.h"
7 #include <iostream>
8 
9 class Pinky : public Ghosts {
10  public:
11  Pinky(float x, float y, int direction, std::shared_ptr<Intersection> destination);
12  ~Pinky();
13  std::shared_ptr<Intersection> getDestination();
14  void setDestination(std::shared_ptr<Intersection> dest);
15  Tile getOrig();
16 
17  private:
18  std::shared_ptr<Intersection> dest;
28  Tile getGoalTile(int pacmanX, int pacmanY);
30 };
31 
32 #endif /* PINKY_H */
int direction
Definition: Entity.h:40
float x
Definition: Entity.h:37
float y
Definition: Entity.h:38
Ghosts class.
Definition: Ghosts.h:15
Definition: Pinky.h:9
std::shared_ptr< Intersection > dest
Definition: Pinky.h:18
Pinky(float x, float y, int direction, std::shared_ptr< Intersection > destination)
Definition: Pinky.cpp:3
Tile getOrig()
Definition: Pinky.cpp:22
void setDestination(std::shared_ptr< Intersection > dest)
Definition: Pinky.cpp:27
std::shared_ptr< Intersection > getDestination()
Definition: Pinky.cpp:20
Tile scatterTarget
Definition: Pinky.h:29
Tile getGoalTile(int pacmanX, int pacmanY)
Get the Goal Tile object.
Definition: Pinky.cpp:29
~Pinky()
Definition: Pinky.cpp:18
Tile struct.
Definition: Maze.h:17