diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-09-05 01:09:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-09-05 01:22:13 +0900 |
commit | 37aaa67152936f4fefff22d559c03e943a86ae69 (patch) | |
tree | ffffcd595eecef631bc1fc38922c63060aa175ea /kpacman/pacman.h | |
parent | ac81a3c3e8d1a61fc2ff39da89c7c2ea290d5e34 (diff) | |
download | tdepacman-37aaa67152936f4fefff22d559c03e943a86ae69.tar.gz tdepacman-37aaa67152936f4fefff22d559c03e943a86ae69.zip |
Renamed kpacman -> tdepacman.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpacman/pacman.h')
-rw-r--r-- | kpacman/pacman.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/kpacman/pacman.h b/kpacman/pacman.h deleted file mode 100644 index 6f1a7c1..0000000 --- a/kpacman/pacman.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef PACMAN_H -#define PACMAN_H - -#include <stdlib.h> -#include <tqpixmap.h> -#include <tqwidget.h> - -#include "board.h" - -enum pacmanState { alive }; - -class Pacman { -public: - Pacman(Board *b); - void init(bool Demo = FALSE); - void setMaxPixmaps(int max); - void setAlive(int ticks); - void setPosition(int pos); - void setDirection(int dir, bool forced = FALSE); - void setDemo(bool yes); - pacmanState state(); - int position(); - int direction(); - bool move(); - int pix(); - -private: - Board *board; - - pacmanState actualState; // the state of pacman - bool demo; // real life or just demo - - int pauseDuration; // number of ticks before next movement - int pause; // actual ticks before movement (0=move) - - int actualDirection; // actual direction of pacman - int nextDirection; // where he wants to go - int lastPix; // last Pixmap-index before no movement - int maxPixmaps; // Number of Pixmaps (1..) - int actualPosition; // actual position on board - int lastPosition; // the last position of pacman - int mouthPosition; // eating - -}; - -#endif // PACMAN_H - |