doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
BOBrick Class Reference

#include <GameBustOutWindow.h>

Public Member Functions

 BOBrick ()
 
 BOBrick (BOEntity *_ent, float _x, float _y, float _width, float _height)
 
 ~BOBrick ()
 
virtual void WriteToSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGame (idFile *savefile, idGameBustOutWindow *game)
 
void SetColor (idVec4 bcolor)
 
collideDir_t checkCollision (idVec2 pos, idVec2 vel)
 

Public Attributes

float x
 
float y
 
float width
 
float height
 
powerupType_t powerup
 
bool isBroken
 
BOEntityent
 

Detailed Description

Definition at line 83 of file GameBustOutWindow.h.

Constructor & Destructor Documentation

BOBrick::BOBrick ( void  )

Definition at line 201 of file GameBustOutWindow.cpp.

BOBrick::BOBrick ( BOEntity _ent,
float  _x,
float  _y,
float  _width,
float  _height 
)

Definition at line 208 of file GameBustOutWindow.cpp.

BOBrick::~BOBrick ( void  )

Definition at line 226 of file GameBustOutWindow.cpp.

Member Function Documentation

collideDir_t BOBrick::checkCollision ( idVec2  pos,
idVec2  vel 
)

Definition at line 280 of file GameBustOutWindow.cpp.

void BOBrick::ReadFromSaveGame ( idFile savefile,
idGameBustOutWindow game 
)
virtual

Definition at line 252 of file GameBustOutWindow.cpp.

void BOBrick::SetColor ( idVec4  bcolor)

Definition at line 271 of file GameBustOutWindow.cpp.

void BOBrick::WriteToSaveGame ( idFile savefile)
virtual

Definition at line 234 of file GameBustOutWindow.cpp.

Member Data Documentation

BOEntity* BOBrick::ent

Definition at line 93 of file GameBustOutWindow.h.

float BOBrick::height

Definition at line 88 of file GameBustOutWindow.h.

bool BOBrick::isBroken

Definition at line 91 of file GameBustOutWindow.h.

powerupType_t BOBrick::powerup

Definition at line 89 of file GameBustOutWindow.h.

float BOBrick::width

Definition at line 87 of file GameBustOutWindow.h.

float BOBrick::x

Definition at line 85 of file GameBustOutWindow.h.

float BOBrick::y

Definition at line 86 of file GameBustOutWindow.h.


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