Robot Devastation
Public Member Functions | Static Public Attributes | Static Protected Attributes | Private Attributes | Static Private Attributes | List of all members
rd::DeadScreen Class Reference

A User Interface.

#include <DeadScreen.hpp>

Inheritance diagram for rd::DeadScreen:
rd::Screen

Public Member Functions

virtual bool init ()
 
virtual bool cleanup ()
 
virtual bool drawScreen (void *screen)
 
virtual bool update (const std::string &parameter, const std::string &value)
 
virtual bool update (const std::string &parameter, const Image &value)
 
- Public Member Functions inherited from rd::Screen
virtual bool update (const std::string &parameter, const Player &value)
 
virtual bool update (const std::string &parameter, const std::vector< Player > &value)
 
virtual bool update (const std::string &parameter, const std::vector< Target > &value)
 
virtual bool update (const std::string &parameter, const Weapon &value)
 
virtual int getHeight () const
 
virtual int getWidth () const
 

Static Public Attributes

static const std::string PARAM_REMAINING_TIME = "remaining_time"
 
static const std::string PARAM_LAST_CAMERA_FRAME = "last_camera_frame"
 

Static Protected Attributes

static const std::string SKULL_PATH = "../images/skull.png"
 
static const std::string FONT_PATH = "../fonts/FreeMono.ttf"
 

Private Attributes

TTF_Font * font
 
SDL_Surface * text_surface
 
SDL_Surface * skull_image
 
SDL_Surface * camera_frame
 
std::string remaining_time
 
Image last_camera_frame
 

Static Private Attributes

static const SDL_Color TEXT_COLOR = {0,255,0,0}
 

Additional Inherited Members

- Protected Attributes inherited from rd::Screen
int h
 
int w
 

The documentation for this class was generated from the following files: