diff options
Diffstat (limited to 'queen/walk.h')
-rw-r--r-- | queen/walk.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/queen/walk.h b/queen/walk.h index 9c3c45f64e..3dfae9edd0 100644 --- a/queen/walk.h +++ b/queen/walk.h @@ -63,13 +63,12 @@ struct MovePersonData { }; -class Logic; -class Graphics; +class QueenEngine; class Walk { public: - Walk(Logic *logic, Graphics *graphics); + Walk(QueenEngine *vm); int16 moveJoe(int direction, int16 endx, int16 endy, bool inCutaway); int16 movePerson(const Person *pp, int16 endx, int16 endy, uint16 curImage, int direction); @@ -128,9 +127,7 @@ private: //! set if customMoveJoe() is called in joeAnimate() bool _joeMoveBlock; - Logic *_logic; - Graphics *_graphics; - + QueenEngine *_vm; static const MovePersonData _moveData[]; }; |