OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
DynamicWorld::BulletBody Struct Referencefinal

#include <dynamicworld.h>

Public Member Functions

 BulletBody (DynamicWorld *wrld, BulletCallback *cb)
 
 BulletBody (BulletBody &&)
 
void setSpellId (int spl)
 
void setTargetRange (float tgRange)
 
void move (const Tempest::Vec3 &to)
 
void setPosition (const Tempest::Vec3 &pos)
 
void setDirection (const Tempest::Vec3 &dir)
 
float pathLength () const
 
void addPathLen (float v)
 
float speed () const
 
float targetRange () const
 
Tempest::Vec3 position () const
 
Tempest::Vec3 direction () const
 
Tempest::Matrix4x4 matrix () const
 
bool isSpell () const
 
int spellId () const
 
void addHit ()
 
int hitCount () const
 

Friends

class DynamicWorld
 

Detailed Description

Definition at line 165 of file dynamicworld.h.

Constructor & Destructor Documentation

◆ BulletBody() [1/2]

DynamicWorld::BulletBody::BulletBody ( DynamicWorld wrld,
DynamicWorld::BulletCallback cb 
)

Definition at line 1096 of file dynamicworld.cpp.

◆ BulletBody() [2/2]

DynamicWorld::BulletBody::BulletBody ( DynamicWorld::BulletBody &&  other)

Definition at line 1100 of file dynamicworld.cpp.

Member Function Documentation

◆ addHit()

void DynamicWorld::BulletBody::addHit ( )
inline

Definition at line 187 of file dynamicworld.h.

◆ addPathLen()

void DynamicWorld::BulletBody::addPathLen ( float  v)

Definition at line 1134 of file dynamicworld.cpp.

◆ direction()

Tempest::Vec3 DynamicWorld::BulletBody::direction ( ) const
inline

Definition at line 182 of file dynamicworld.h.

◆ hitCount()

int DynamicWorld::BulletBody::hitCount ( ) const
inline

Definition at line 188 of file dynamicworld.h.

◆ isSpell()

bool DynamicWorld::BulletBody::isSpell ( ) const
inline

Definition at line 184 of file dynamicworld.h.

◆ matrix()

Tempest::Matrix4x4 DynamicWorld::BulletBody::matrix ( ) const

Definition at line 1138 of file dynamicworld.cpp.

◆ move()

void DynamicWorld::BulletBody::move ( const Tempest::Vec3 &  to)

Definition at line 1115 of file dynamicworld.cpp.

◆ pathLength()

float DynamicWorld::BulletBody::pathLength ( ) const

Definition at line 1130 of file dynamicworld.cpp.

◆ position()

Tempest::Vec3 DynamicWorld::BulletBody::position ( ) const
inline

Definition at line 181 of file dynamicworld.h.

◆ setDirection()

void DynamicWorld::BulletBody::setDirection ( const Tempest::Vec3 &  dir)

Definition at line 1125 of file dynamicworld.cpp.

◆ setPosition()

void DynamicWorld::BulletBody::setPosition ( const Tempest::Vec3 &  pos)

Definition at line 1120 of file dynamicworld.cpp.

◆ setSpellId()

void DynamicWorld::BulletBody::setSpellId ( int  spl)

Definition at line 1107 of file dynamicworld.cpp.

◆ setTargetRange()

void DynamicWorld::BulletBody::setTargetRange ( float  tgRange)

Definition at line 1111 of file dynamicworld.cpp.

◆ speed()

float DynamicWorld::BulletBody::speed ( ) const
inline

Definition at line 179 of file dynamicworld.h.

◆ spellId()

int DynamicWorld::BulletBody::spellId ( ) const
inline

Definition at line 185 of file dynamicworld.h.

◆ targetRange()

float DynamicWorld::BulletBody::targetRange ( ) const
inline

Definition at line 180 of file dynamicworld.h.

Friends And Related Symbol Documentation

◆ DynamicWorld

friend class DynamicWorld
friend

Definition at line 204 of file dynamicworld.h.


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