4 //#include "sdlinclude.h"
20 float movementX
, movementY
;
30 MapObject( Uint8 mapX
= 0, Uint8 mapY
= 0, Drawable
*graphic
= 0 );
35 void UpdatePosition();
36 virtual void StartMovement();
38 virtual float SPEED() = 0;
42 virtual bool isWalkable( Uint8 X
, Uint8 Y
);
44 virtual void Initialize();
45 virtual void DeInitialize();
47 virtual void Update();
52 virtual void OnTile( Tile
*t
);
54 void Teleport( Uint8 mapX
, Uint8 mapY
, Uint16 room
= 0 );
61 void setGraphic( Drawable
*graphic
);
62 Drawable
*getGraphic( );