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

Public Member Functions

 BulletsList (DynamicWorld &wrld)
 
BulletBodyadd (BulletCallback *cb)
 
void del (BulletBody *b)
 
void tick (uint64_t dt)
 
void onMoveNpc (NpcBody &npc, NpcBodyList &list)
 

Public Attributes

std::list< BulletBodybody
 
DynamicWorldwrld
 

Detailed Description

Definition at line 333 of file dynamicworld.cpp.

Constructor & Destructor Documentation

◆ BulletsList()

DynamicWorld::BulletsList::BulletsList ( DynamicWorld wrld)
inline

Definition at line 334 of file dynamicworld.cpp.

Member Function Documentation

◆ add()

BulletBody * DynamicWorld::BulletsList::add ( BulletCallback cb)
inline

Definition at line 337 of file dynamicworld.cpp.

◆ del()

void DynamicWorld::BulletsList::del ( BulletBody b)
inline

Definition at line 343 of file dynamicworld.cpp.

◆ onMoveNpc()

void DynamicWorld::BulletsList::onMoveNpc ( NpcBody npc,
NpcBodyList list 
)
inline

Definition at line 360 of file dynamicworld.cpp.

◆ tick()

void DynamicWorld::BulletsList::tick ( uint64_t  dt)
inline

Definition at line 352 of file dynamicworld.cpp.

Member Data Documentation

◆ body

std::list<BulletBody> DynamicWorld::BulletsList::body

Definition at line 369 of file dynamicworld.cpp.

◆ wrld

DynamicWorld& DynamicWorld::BulletsList::wrld

Definition at line 370 of file dynamicworld.cpp.


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