Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6ac09fb83a
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 0.471 kb
#pragma once
#include "Hge/Hge.hpp"
#include "WorldListener.hpp"
#include "Sprite.hpp"
class InfoBar : public WorldListener {
public:
InfoBar( boost::shared_ptr<SpriteLoader> spr_loader );
void SetLife( int life );
void SetMoney( int money );
void Render();
private:
boost::shared_ptr<Sprite> life_spr;
int life;
int money;
boost::shared_ptr<hgeFont> money_fnt;
boost::shared_ptr<Sprite> background;
EffectObj die;
EffectObj katjing;
HgeObj hge;
};
Jump to Line
Something went wrong with that request. Please try again.