|
|
| ColliderComponent (const char *tag) |
| |
|
| ColliderComponent (const char *tag, float hitboxScale) |
| |
| void | init () override |
| |
| void | update () override |
| |
|
void | removeCollision () |
| |
|
void | handleCollision (Vector2D &characterPos, SDL_Rect &characterCollider, SDL_Rect &componentCollider) |
| |
|
|
SDL_Rect | collider |
| |
|
const char * | tag |
| |
|
TransformComponent * | transform |
| |
|
bool | hasCollision |
| |
|
float | hitboxScale |
| |
|
bool | isProjectile = false |
| |
|
Entity * | entity |
| |
◆ init()
| void ColliderComponent::init |
( |
| ) |
|
|
overridevirtual |
◆ update()
| void ColliderComponent::update |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: