X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplayer_status.h;h=c1bdc25e93e9470fc2cb67d1a21137a3ab9f115e;hb=e409aaf88c618c2fc47ff8f9bbe523b8f271c795;hp=e4fb3359f5a12b2d1059ee4d4d8b963dc10d4ce6;hpb=c0093d25093395cb62fc2526ab42be65a9f015b8;p=supertux.git diff --git a/src/player_status.h b/src/player_status.h index e4fb3359f..c1bdc25e9 100644 --- a/src/player_status.h +++ b/src/player_status.h @@ -26,6 +26,7 @@ enum BonusType { NO_BONUS, GROWUP_BONUS, FIRE_BONUS, ICE_BONUS }; +class DrawingContext; /** * This class memorizes player status between different game sessions (for @@ -42,6 +43,8 @@ public: void write(lisp::Writer& writer); void read(const lisp::Lisp& lisp); + void draw(DrawingContext& context); + int coins; int lives; BonusType bonus;