#include <PhysicsComponent.hpp>
PhysicsComponent::PhysicsComponent |
( |
bool |
hasGravity | ) |
|
Creates a component with or without gravity.
PhysicsComponent::~PhysicsComponent |
( |
| ) |
|
void PhysicsComponent::Update |
( |
float |
deltaTime | ) |
|
|
virtual |
Update the velocity and transfor of this compenent according to deltaTime.
Implements Component.
bool PhysicsComponent::onGround |
The documentation for this class was generated from the following files:
- D:/Ryan_Temp/GithubProjects/platformer-linux_gang/Game/game/include/component_system/PhysicsComponent.hpp
- D:/Ryan_Temp/GithubProjects/platformer-linux_gang/Game/game/src/component_system/PhysicsComponent.cpp