X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fworldmap%2Ftux.hpp;h=67ec76d4f49a2240a9461d39293ec90b970e8cdf;hb=a113d3bd1feddd510e3b2852b0d42522735eee40;hp=6519785e2d1e381f87c07a22415fc8ae665fdff1;hpb=ff4c6994b952e26b854461d739eb3bcbfc30719f;p=supertux.git diff --git a/src/worldmap/tux.hpp b/src/worldmap/tux.hpp index 6519785e2..67ec76d4f 100644 --- a/src/worldmap/tux.hpp +++ b/src/worldmap/tux.hpp @@ -55,10 +55,10 @@ private: void tryStartWalking(); /**< try starting to walk in input_direction */ void tryContinueWalking(float elapsed_time); /**< try to continue walking in current direction */ -public: +public: Tux(WorldMap* worldmap_); ~Tux(); - + void setup(); /**< called prior to first update */ void draw(DrawingContext& context); void update(float elapsed_time); @@ -67,11 +67,10 @@ public: bool is_moving() const { return moving; } Vector get_pos(); - Vector get_tile_pos() const { return tile_pos; } - void set_tile_pos(Vector p) { tile_pos = p; } + Vector get_tile_pos() const { return tile_pos; } + void set_tile_pos(Vector p) { tile_pos = p; } }; } #endif -