|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <dynamicworld.h>
Public Member Functions | |
| NpcItem ()=default | |
| NpcItem (DynamicWorld *owner, NpcBody *obj, float r) | |
| NpcItem (NpcItem &&it) | |
| ~NpcItem () | |
| NpcItem & | operator= (NpcItem &&it) |
| void | setPosition (const Tempest::Vec3 &pos) |
| const Tempest::Vec3 & | position () const |
| void | setEnable (bool e) |
| void | setUserPointer (void *p) |
| float | centerY () const |
| bool | testMove (const Tempest::Vec3 &to, CollisionTest &out) |
| bool | testMove (const Tempest::Vec3 &to, const Tempest::Vec3 &from, CollisionTest &out) |
| auto | tryMove (const Tempest::Vec3 &to, CollisionTest &out) -> DynamicWorld::MoveCode |
| bool | hasCollision () const |
Friends | |
| class | DynamicWorld |
Definition at line 72 of file dynamicworld.h.
|
default |
|
inline |
Definition at line 75 of file dynamicworld.h.
|
inline |
Definition at line 76 of file dynamicworld.h.
| DynamicWorld::NpcItem::~NpcItem | ( | ) |
Definition at line 935 of file dynamicworld.cpp.
| float DynamicWorld::NpcItem::centerY | ( | ) | const |
Definition at line 966 of file dynamicworld.cpp.
| bool DynamicWorld::NpcItem::hasCollision | ( | ) | const |
Definition at line 1059 of file dynamicworld.cpp.
Definition at line 79 of file dynamicworld.h.
| const Tempest::Vec3 & DynamicWorld::NpcItem::position | ( | ) | const |
Definition at line 975 of file dynamicworld.cpp.
| void DynamicWorld::NpcItem::setEnable | ( | bool | e | ) |
Definition at line 955 of file dynamicworld.cpp.
| void DynamicWorld::NpcItem::setPosition | ( | const Tempest::Vec3 & | pos | ) |
Definition at line 943 of file dynamicworld.cpp.
| void DynamicWorld::NpcItem::setUserPointer | ( | void * | p | ) |
Definition at line 962 of file dynamicworld.cpp.
| bool DynamicWorld::NpcItem::testMove | ( | const Tempest::Vec3 & | to, |
| CollisionTest & | out | ||
| ) |
Definition at line 979 of file dynamicworld.cpp.
| bool DynamicWorld::NpcItem::testMove | ( | const Tempest::Vec3 & | to, |
| const Tempest::Vec3 & | from, | ||
| CollisionTest & | out | ||
| ) |
Definition at line 985 of file dynamicworld.cpp.
| DynamicWorld::MoveCode DynamicWorld::NpcItem::tryMove | ( | const Tempest::Vec3 & | to, |
| CollisionTest & | out | ||
| ) | -> DynamicWorld::MoveCode |
Definition at line 994 of file dynamicworld.cpp.
|
friend |
Definition at line 106 of file dynamicworld.h.