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