GlPortal Class Reference
0.1.1
Source code documentation of the free and open 3D action puzzle game.
|
#include <external/RadixEngine/include/radix/component/Player.hpp>
Inherits radix::Component.
Public Member Functions | |
Player (Entity &) | |
~Player () | |
const char * | getName () const |
TypeId | getTypeId () const |
void | serialize (serine::Archiver &) |
template<typename T > | |
T & | addTask () |
void | removeTask (int id) |
Quaternion | getBaseHeadOrientation () const |
Quaternion | getHeadOrientation () const |
Public Member Functions inherited from radix::Component | |
Component (Entity &ent) noexcept | |
virtual | ~Component () |
Data Fields | |
std::map< int, PlayerTask * > | tasks |
std::shared_ptr< btConvexShape > | shape |
btPairCachingGhostObject * | obj |
KinematicCharacterController * | controller |
Trigger * | trigger |
Vector3f | velocity |
Vector3f | headAngle |
bool | flying |
bool | noclip |
bool | frozen |
float | speed |
float | stepCounter |
Additional Inherited Members | |
Public Types inherited from radix::Component | |
using | TypeId = ComponentTypeId |
Static Public Member Functions inherited from radix::Component | |
template<typename T > | |
static TypeId | getTypeId () |
Gets a component's type ID. More... | |
Static Public Attributes inherited from radix::Component | |
static constexpr TypeId | MaxId = 32 |
Protected Attributes inherited from radix::Component | |
Entity & | entity |
radix::Player::~Player | ( | ) |
|
inline |
Quaternion radix::Player::getBaseHeadOrientation | ( | ) | const |
Quaternion radix::Player::getHeadOrientation | ( | ) | const |
|
inlinevirtual |
Implements radix::Component.
|
inlinevirtual |
Implements radix::Component.
void radix::Player::removeTask | ( | int | id | ) |
void radix::Player::serialize | ( | serine::Archiver & | ar | ) |
KinematicCharacterController* radix::Player::controller |
bool radix::Player::flying |
bool radix::Player::frozen |
Vector3f radix::Player::headAngle |
bool radix::Player::noclip |
btPairCachingGhostObject* radix::Player::obj |
std::shared_ptr<btConvexShape> radix::Player::shape |
float radix::Player::speed |
float radix::Player::stepCounter |
std::map<int, PlayerTask*> radix::Player::tasks |
Trigger* radix::Player::trigger |
Vector3f radix::Player::velocity |