Translates keyboard/mouse inputs into inputs for ControllerComponent.
More...
#include <components/player.h>
◆ PlayerComponent()
tram::PlayerComponent::PlayerComponent |
( |
| ) |
|
◆ ~PlayerComponent()
tram::PlayerComponent::~PlayerComponent |
( |
| ) |
|
◆ EventHandler()
void tram::PlayerComponent::EventHandler |
( |
Event & |
event | ) |
|
|
virtual |
◆ GetDirectionFacing()
vec3 tram::PlayerComponent::GetDirectionFacing |
( |
| ) |
|
|
inline |
◆ GetLookRotation()
quat tram::PlayerComponent::GetLookRotation |
( |
| ) |
|
|
inline |
◆ Init()
void tram::PlayerComponent::Init |
( |
| ) |
|
|
virtual |
Initializes an entity component.
If an entity component has all of its resources already loaded, this will immediately Start() the component.
Reimplemented from tram::EntityComponent.
◆ SetControllerComponent()
◆ SetNoclip()
void tram::PlayerComponent::SetNoclip |
( |
bool |
value | ) |
|
◆ Start()
void tram::PlayerComponent::Start |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following files:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/components/player.h
- C:/Users/Poga/Desktop/painis/tram-sdk/src/components/player.cpp