X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplayer_status.hpp;h=85ac0590ba2beb96086e23345fbc87b918af736d;hb=273bb1e9d8f4a625abce2fbcb6d0c215988cc655;hp=bf5cc272d365e3ef9b214656680945338b3ec6c5;hpb=249ccffa03ded6f1ba06cce346f91d96d8ce3ed5;p=supertux.git diff --git a/src/player_status.hpp b/src/player_status.hpp index bf5cc272d..85ac0590b 100644 --- a/src/player_status.hpp +++ b/src/player_status.hpp @@ -20,14 +20,12 @@ #ifndef SUPERTUX_PLAYERSTATUS_H #define SUPERTUX_PLAYERSTATUS_H -#include #include -#include "lisp/lisp.hpp" -#include "timer.hpp" #include "serializable.hpp" -#include "sprite/sprite.hpp" -#include "console.hpp" -#include "video/surface.hpp" + +namespace lisp{ class Writer; } +namespace lisp{ class Lisp; } +class Surface; static const float BORDER_X = 10; static const float BORDER_Y = 10; @@ -41,7 +39,7 @@ class DrawingContext; * This class memorizes player status between different game sessions (for * example when switching maps in the worldmap) */ -class PlayerStatus : public Serializable, public ConsoleCommandReceiver +class PlayerStatus : public Serializable { public: PlayerStatus(); @@ -54,8 +52,6 @@ public: void draw(DrawingContext& context); - bool consoleCommand(std::string command, std::vector arguments); /**< callback from Console; return false if command was unknown, true otherwise */ - int coins; BonusType bonus; int max_fire_bullets; /**< maximum number of fire bullets in play */