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