GATE
gate::apps::BlockLevelsGame Class Reference
Inheritance diagram for gate::apps::BlockLevelsGame:
gate::apps::GameModule gate::NonCopyable

Classes

struct  Block
 
struct  BlockTextures
 
struct  Cuboid
 
class  World
 

Public Types

enum  BlockType {
  Block_Empty , Block_Dirt , Block_OakPlanks , Block_Oak ,
  Block_OakLeaves , Block_Cobble , Block_Grass , Block_Brick ,
  Block_Stone , Block_StoneBrick , Block_Start1
}
 
enum  BlockTextureType {
  BlockTexture_Dirt , BlockTexture_Cobblestone , BlockTexture_GrassTop , BlockTexture_GrassSide ,
  BlockTexture_OakPlanks , BlockTexture_OakSide , BlockTexture_OakTop , BlockTexture_OakLeaves ,
  BlockTexture_Brick , BlockTexture_Stone , BlockTexture_StoneBrick
}
 

Public Member Functions

virtual void loadModule (GlSurface &surface)
 
virtual void unloadModule (GlSurface &surface)
 
virtual void render (GlSurface &surface)
 
virtual void processKeyDown (Keyboard::KeyEnum key, uint32_t state)
 
virtual void processKeyUp (Keyboard::KeyEnum key, uint32_t state)
 
virtual void processPointerDown (real32_t x, real32_t y, real32_t xMax, real32_t yMax)
 
virtual void processPointerMove (real32_t x, real32_t y, real32_t xMax, real32_t yMax)
 
virtual void processPointerUp (real32_t x, real32_t y, real32_t xMax, real32_t yMax)
 

Member Function Documentation

◆ loadModule()

void gate::apps::BlockLevelsGame::loadModule ( GlSurface & surface)
virtual

◆ processKeyDown()

void gate::apps::BlockLevelsGame::processKeyDown ( Keyboard::KeyEnum key,
uint32_t state )
virtual

◆ processKeyUp()

void gate::apps::BlockLevelsGame::processKeyUp ( Keyboard::KeyEnum key,
uint32_t state )
virtual

◆ processPointerDown()

void gate::apps::BlockLevelsGame::processPointerDown ( real32_t x,
real32_t y,
real32_t xMax,
real32_t yMax )
virtual

◆ processPointerMove()

void gate::apps::BlockLevelsGame::processPointerMove ( real32_t x,
real32_t y,
real32_t xMax,
real32_t yMax )
virtual

◆ processPointerUp()

void gate::apps::BlockLevelsGame::processPointerUp ( real32_t x,
real32_t y,
real32_t xMax,
real32_t yMax )
virtual

◆ render()

void gate::apps::BlockLevelsGame::render ( GlSurface & surface)
virtual

◆ unloadModule()

void gate::apps::BlockLevelsGame::unloadModule ( GlSurface & surface)
virtual

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