class TileSet;
/**
- * This class is reponsible for drawing the level tiles
+ * This class is responsible for drawing the level tiles
*/
class TileMap : public GameObject, public Serializable, public ScriptInterface
{
float get_y_offset() const
{ return y_offset; }
+ const Vector& get_movement() const
+ {
+ return movement;
+ }
+
void set_x_offset(float x_offset)
{ this->x_offset = x_offset; }
int z_pos;
float x_offset;
float y_offset;
+ Vector movement; /**< The movement that happened last frame */
DrawingEffect drawing_effect;
float alpha; /**< requested tilemap opacity */