TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GridComponent Class Reference
Inheritance diagram for GridComponent:
Inheritance graph
[legend]
Collaboration diagram for GridComponent:
Collaboration graph
[legend]

Public Member Functions

 GridComponent (int xpos, int ypos, int tscaled, std::bitset< GRID_CELL_NUM > collider_bitSet=std::bitset< GRID_CELL_NUM >())
 
void init () override
 
void update (float deltaTime) override
 
std::string GetComponentName () override
 
- Public Member Functions inherited from BaseComponent
virtual void draw (size_t e_index, PlaneModelRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, LineRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, LightRenderer &batch, TazGraphEngine::Window &window)
 
virtual void showGUI ()
 

Public Attributes

glm::ivec2 position
 
int scaledTile
 
ColliderComponentcollider = nullptr
 
- Public Attributes inherited from Component
Entityentity = nullptr
 
- Public Attributes inherited from BaseComponent
ComponentID id = 0u
 

Member Function Documentation

◆ GetComponentName()

std::string GridComponent::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init()

void GridComponent::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update()

void GridComponent::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.


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