start working out the Graphics/* code, this is a long way from compiling, let alone working
#ifndef GRAPHICS_PLAYER_INFO_HH
#define GRAPHICS_PLAYER_INFO_HH
#include "View.hh"
#include "../Player.hh"
namespace graphics
{
class PlayerInfo : public View {
private:
/**
* The player whose info we are drawing
*
* XXX: should this be LocalPlayer or is Player good?
*/
Player *player;
public:
/**
* Set initial view area and player
*/
PlayerInfo (const PixelArea &area, Player *player) :
View(area), player(player)
{
}
/**
* Draw the player info onto the given display
*/
virtual void draw (Display *display);
}
}
#endif