VehicleTypeImage Class Reference

#include <vehicletypeimage.h>

List of all members.

Public Member Functions

 VehicleTypeImage (PG_Widget *parent, const PG_Point &pos, const VehicleType *vehicletype, const Player &owningPlayer)
void eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)

Protected Member Functions

void display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)


Detailed Description

Definition at line 19 of file vehicletypeimage.h.


Constructor & Destructor Documentation

VehicleTypeImage::VehicleTypeImage ( PG_Widget *  parent,
const PG_Point &  pos,
const VehicleType vehicletype,
const Player owningPlayer 
)

Definition at line 20 of file vehicletypeimage.cpp.


Member Function Documentation

void VehicleTypeImage::eventBlit ( SDL_Surface *  surface,
const PG_Rect &  src,
const PG_Rect &  dst 
)

Definition at line 41 of file vehicletypeimage.cpp.

References display().

void VehicleTypeImage::display ( SDL_Surface *  surface,
const PG_Rect &  src,
const PG_Rect &  dst 
) [protected]

Definition at line 30 of file vehicletypeimage.cpp.

References Surface::createSurface(), fieldsizex, fieldsizey, Player::getPlayerColor(), and VehicleType::paint().

Referenced by eventBlit().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:48:06 2012 for Advanced Strategic Command by  doxygen 1.5.1