forked from dzui42unit/pacman
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblinky.h
More file actions
30 lines (26 loc) · 673 Bytes
/
blinky.h
File metadata and controls
30 lines (26 loc) · 673 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef BLINKY_H
#define BLINKY_H
#include "ghost.h"
#include "pinky.h"
#include "clyde.h"
#include "inky.h"
class Pinky;
class Clyde;
class Inky;
class Blinky : public Ghost
{
private:
Pinky *pinky;
Clyde *clyde;
Inky *inky;
public:
Blinky(QGraphicsScene *sc, int **map, PacMan *pc);
void ft_set_default();
void ft_calculate_point();
void ft_find_pacman();
void ft_set_friends(Pinky *pin, Clyde *cl, Inky *ink);
void ft_find_path();
public slots:
void ft_move_ghost();
};
#endif // BLINKY_H