![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ECS_Components.h>
Public Member Functions | |
| PhysicsBody_data ()=default | |
| PhysicsBody_data (float m, float s) | |
| PhysicsBody_data (const PhysicsBody_data &)=default | |
| PhysicsBody_data & | operator= (const PhysicsBody_data &)=default |
Public Attributes | |
| float | mass = 1.0f |
| float | speed = 150.0f |
| float | friction = 0.1f |
| bool | useGravity = true |
| bool | rotation = false |
Definition at line 213 of file ECS_Components.h.
|
default |
Definition at line 223 of file ECS_Components.h.
|
default |
|
default |
Definition at line 217 of file ECS_Components.h.
| float PhysicsBody_data::mass = 1.0f |
Definition at line 215 of file ECS_Components.h.
Referenced by PrefabFactory::InstantiatePhysicsBody().
Definition at line 219 of file ECS_Components.h.
| float PhysicsBody_data::speed = 150.0f |
Definition at line 216 of file ECS_Components.h.
Referenced by PlayerControlSystem::Process(), and AIMotionSystem::Process().
Definition at line 218 of file ECS_Components.h.