OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
DynamicWorld::NpcBody Struct Reference
Inheritance diagram for DynamicWorld::NpcBody:

Public Member Functions

 NpcBody (btCollisionShape *shape)
 
 ~NpcBody ()
 
NpctoNpc ()
 
void setPosition (const Tempest::Vec3 &p)
 

Public Attributes

Tempest::Vec3 pos ={}
 
float r =0
 
float h =0
 
float rX =0
 
float rZ =0
 
bool enable =true
 
size_t frozen =size_t(-1)
 
uint64_t lastMove =0
 

Detailed Description

Definition at line 38 of file dynamicworld.cpp.

Constructor & Destructor Documentation

◆ NpcBody()

DynamicWorld::NpcBody::NpcBody ( btCollisionShape *  shape)
inline

Definition at line 39 of file dynamicworld.cpp.

◆ ~NpcBody()

DynamicWorld::NpcBody::~NpcBody ( )
inline

Definition at line 40 of file dynamicworld.cpp.

Member Function Documentation

◆ setPosition()

void DynamicWorld::NpcBody::setPosition ( const Tempest::Vec3 &  p)
inline

Definition at line 54 of file dynamicworld.cpp.

◆ toNpc()

Npc * DynamicWorld::NpcBody::toNpc ( )
inline

Definition at line 50 of file dynamicworld.cpp.

Member Data Documentation

◆ enable

bool DynamicWorld::NpcBody::enable =true

Definition at line 46 of file dynamicworld.cpp.

◆ frozen

size_t DynamicWorld::NpcBody::frozen =size_t(-1)

Definition at line 47 of file dynamicworld.cpp.

◆ h

float DynamicWorld::NpcBody::h =0

Definition at line 45 of file dynamicworld.cpp.

◆ lastMove

uint64_t DynamicWorld::NpcBody::lastMove =0

Definition at line 48 of file dynamicworld.cpp.

◆ pos

Tempest::Vec3 DynamicWorld::NpcBody::pos ={}

Definition at line 44 of file dynamicworld.cpp.

◆ r

float DynamicWorld::NpcBody::r =0

Definition at line 45 of file dynamicworld.cpp.

◆ rX

float DynamicWorld::NpcBody::rX =0

Definition at line 45 of file dynamicworld.cpp.

◆ rZ

float DynamicWorld::NpcBody::rZ =0

Definition at line 45 of file dynamicworld.cpp.


The documentation for this struct was generated from the following file: