#include <bullet.h>
Definition at line 15 of file bullet.h.
◆ Flg
| Enumerator |
|---|
| NoFlags | |
| Stopped | |
Definition at line 23 of file bullet.h.
◆ Bullet() [1/3]
◆ Bullet() [2/3]
| Bullet::Bullet |
( |
World & |
owner, |
|
|
const Item & |
itm, |
|
|
const Tempest::Vec3 & |
pos |
|
) |
| |
◆ Bullet() [3/3]
◆ ~Bullet()
◆ critChance()
| float Bullet::critChance |
( |
| ) |
const |
|
inline |
◆ damage()
◆ flags()
| Flg Bullet::flags |
( |
| ) |
const |
|
inline |
◆ hitChance()
| float Bullet::hitChance |
( |
| ) |
const |
|
inline |
◆ isFinished()
| bool Bullet::isFinished |
( |
| ) |
const |
◆ isSpell()
| bool Bullet::isSpell |
( |
| ) |
const |
◆ itemMaterial()
◆ onCollide() [1/2]
| bool Bullet::onCollide |
( |
Npc & |
other | ) |
|
|
overrideprotectedvirtual |
◆ onCollide() [2/2]
| void Bullet::onCollide |
( |
zenkit::MaterialGroup |
matId | ) |
|
|
overrideprotectedvirtual |
◆ onMove()
◆ onStop()
◆ operator=()
◆ origin()
| Npc * Bullet::origin |
( |
| ) |
const |
◆ pathLength()
| float Bullet::pathLength |
( |
| ) |
const |
◆ setCritChance()
| void Bullet::setCritChance |
( |
float |
v | ) |
|
|
inline |
◆ setDamage()
◆ setDirection()
| void Bullet::setDirection |
( |
const Tempest::Vec3 & |
dir | ) |
|
◆ setFlags()
| void Bullet::setFlags |
( |
Flg |
f | ) |
|
|
inline |
◆ setHitChance()
| void Bullet::setHitChance |
( |
float |
v | ) |
|
|
inline |
◆ setOrigin()
| void Bullet::setOrigin |
( |
Npc * |
n | ) |
|
◆ setPosition() [1/2]
| void Bullet::setPosition |
( |
const Tempest::Vec3 & |
p | ) |
|
◆ setPosition() [2/2]
| void Bullet::setPosition |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ setTarget()
| void Bullet::setTarget |
( |
const Npc * |
n | ) |
|
◆ setTargetRange()
| void Bullet::setTargetRange |
( |
float |
tgRange | ) |
|
◆ setView() [1/2]
| void Bullet::setView |
( |
Effect && |
p | ) |
|
◆ setView() [2/2]
◆ spellId()
| int32_t Bullet::spellId |
( |
| ) |
const |
The documentation for this class was generated from the following files: