#include <Block.h>
Public Member Functions | |
Block (void) | |
void | Render (void) |
~Block (void) | |
Public Attributes | |
VECTOR3D | bl |
VECTOR3D | br |
VECTOR3D | tl |
VECTOR3D | tr |
VECTOR3D | position |
bool | visible |
float | sizeX |
float | sizeY |
float | sizeZ |
int | hp |
int | texturemode |
Private Attributes | |
COLOR | amb |
COLOR | dif |
GLfloat | blockAmb [4] |
GLfloat | blockDif [4] |
GLuint | texture [6] |
Block::Block | ( | void | ) |
default constructor for the block
Block::~Block | ( | void | ) |
block destructor
void Block::Render | ( | void | ) |
block rendermethod
VECTOR3D Block::bl |
VECTOR3D Block::br |
VECTOR3D Block::tl |
VECTOR3D Block::tr |
VECTOR3D Block::position |
bool Block::visible |
float Block::sizeX |
float Block::sizeY |
float Block::sizeZ |
int Block::hp |
COLOR Block::amb [private] |
COLOR Block::dif [private] |
GLfloat Block::blockAmb[4] [private] |
GLfloat Block::blockDif[4] [private] |
GLuint Block::texture[6] [private] |