1 /******************************
2 ** Tsunagari Tile Engine **
4 ** Copyright 2011 OmegaSDG **
5 ******************************/
12 class Player
: public Entity
15 Player(Resourcer
* rc
, Area
* area
);
17 //! Smooth continuous movement.
18 void startMovement(coord_t delta
);
19 void stopMovement(coord_t delta
);
21 //! Move the player by dx, dy. Not guaranteed to be smooth if called
23 void moveByTile(coord_t delta
);
26 void preMove(coord_t delta
);
30 void normalizeVelocity();
32 //! Stores intent to move continuously in some direction.