X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap%2Ftux.hpp;h=4c36042d46782c9bd2ca8d4e548435a2f25f83ba;hb=8359a7408f6528b3d3e05d669fe081ccd6d2a19b;hp=67ec76d4f49a2240a9461d39293ec90b970e8cdf;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/worldmap/tux.hpp b/src/worldmap/tux.hpp index 67ec76d4f..4c36042d4 100644 --- a/src/worldmap/tux.hpp +++ b/src/worldmap/tux.hpp @@ -50,7 +50,7 @@ private: void stop(); - bool canWalk(const Tile* tile, Direction dir); /**< check if we can leave "tile" in direction "dir" */ + bool canWalk(int tile_data, Direction dir); /**< check if we can leave a tile (with given "tile_data") in direction "dir" */ void updateInputDirection(); /**< if controller was pressed, update input_direction */ void tryStartWalking(); /**< try starting to walk in input_direction */ void tryContinueWalking(float elapsed_time); /**< try to continue walking in current direction */