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