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
BSEntity Class Reference

#include <GameBearShootWindow.h>

Public Member Functions

 BSEntity (idGameBearShootWindow *_game)
 
virtual ~BSEntity ()
 
virtual void WriteToSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGame (idFile *savefile, idGameBearShootWindow *_game)
 
void SetMaterial (const char *name)
 
void SetSize (float _width, float _height)
 
void SetVisible (bool isVisible)
 
virtual void Update (float timeslice)
 
virtual void Draw (idDeviceContext *dc)
 

Public Attributes

const idMaterial * material
 
idStr materialName
 
float width
 
float height
 
bool visible
 
idVec4 entColor
 
idVec2 position
 
float rotation
 
float rotationSpeed
 
idVec2 velocity
 
bool fadeIn
 
bool fadeOut
 
idGameBearShootWindow * game
 

Detailed Description

Definition at line 33 of file GameBearShootWindow.h.

Constructor & Destructor Documentation

BSEntity::BSEntity ( idGameBearShootWindow *  _game)

Definition at line 53 of file GameBearShootWindow.cpp.

BSEntity::~BSEntity ( )
virtual

Definition at line 70 of file GameBearShootWindow.cpp.

Member Function Documentation

void BSEntity::Draw ( idDeviceContext *  dc)
virtual

Definition at line 190 of file GameBearShootWindow.cpp.

void BSEntity::ReadFromSaveGame ( idFile *  savefile,
idGameBearShootWindow *  _game 
)
virtual

Definition at line 101 of file GameBearShootWindow.cpp.

void BSEntity::SetMaterial ( const char *  name)

Definition at line 126 of file GameBearShootWindow.cpp.

void BSEntity::SetSize ( float  _width,
float  _height 
)

Definition at line 137 of file GameBearShootWindow.cpp.

void BSEntity::SetVisible ( bool  isVisible)

Definition at line 147 of file GameBearShootWindow.cpp.

void BSEntity::Update ( float  timeslice)
virtual

Definition at line 156 of file GameBearShootWindow.cpp.

void BSEntity::WriteToSaveGame ( idFile *  savefile)
virtual

Definition at line 78 of file GameBearShootWindow.cpp.

Member Data Documentation

idVec4 BSEntity::entColor

Definition at line 40 of file GameBearShootWindow.h.

bool BSEntity::fadeIn

Definition at line 46 of file GameBearShootWindow.h.

bool BSEntity::fadeOut

Definition at line 47 of file GameBearShootWindow.h.

idGameBearShootWindow* BSEntity::game

Definition at line 49 of file GameBearShootWindow.h.

float BSEntity::height

Definition at line 37 of file GameBearShootWindow.h.

const idMaterial* BSEntity::material

Definition at line 35 of file GameBearShootWindow.h.

idStr BSEntity::materialName

Definition at line 36 of file GameBearShootWindow.h.

idVec2 BSEntity::position

Definition at line 41 of file GameBearShootWindow.h.

float BSEntity::rotation

Definition at line 42 of file GameBearShootWindow.h.

float BSEntity::rotationSpeed

Definition at line 43 of file GameBearShootWindow.h.

idVec2 BSEntity::velocity

Definition at line 44 of file GameBearShootWindow.h.

bool BSEntity::visible

Definition at line 38 of file GameBearShootWindow.h.

float BSEntity::width

Definition at line 37 of file GameBearShootWindow.h.


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