|
SpaghettiKart
|
#include <Crab.h>
Public Member Functions | |
| OCrab (const SpawnParams ¶ms) | |
| ~OCrab () | |
| virtual void | Tick () override |
| virtual void | Draw (s32 cameraId) override |
| virtual void | SetSpawnParams (SpawnParams ¶ms) override |
| virtual void | DrawEditorProperties () override |
| void | DrawModel (s32 cameraId) |
| void | init_ktb_crab (s32 objectIndex) |
| void | func_80082B34 (s32 objectIndex) |
| void | func_80082C30 (s32 objectIndex) |
| void | func_80082E18 (s32 objectIndex) |
Public Member Functions inherited from OObject | |
| virtual | ~OObject ()=default |
| OObject () | |
| OObject (SpawnParams params) | |
| virtual void | Tick60fps () |
| virtual void | Expire () |
| virtual void | Destroy () |
| virtual void | Reset () |
| FVector | GetLocation () const |
| IRotator | GetRotation () const |
| FVector | GetScale () const |
| virtual void | Translate (FVector pos) |
| void | Rotate (IRotator rot) |
| void | SetScale (FVector scale) |
Static Public Member Functions | |
| static OCrab * | Spawn (const FVector2D &start, const FVector2D &end) |
Private Attributes | |
| FVector2D | _start |
| FVector2D | _end |
| s32 | _idx |
Static Private Attributes | |
| static size_t | _count = 0 |
Additional Inherited Members | |
Data Fields inherited from OObject | |
| uint8_t | uuid [16] |
| Object | o |
| const char * | Name = "" |
| const char * | ResourceName = "" |
| bool | bPendingDestroy = false |
| s32 | _objectIndex = -1 |
| const char * | Model = "" |
| FVector | SpawnPos = {0.0f, 0.0f, 0.0f} |
| IRotator | SpawnRot = {0, 0, 0} |
| FVector | SpawnScale = {1.0f, 1.0f, 1.0f} |
| float | Speed = 0.0f |
| std::vector< Triangle > | Triangles |
Crab patrols between start and end. The game automatically places the actor on the surface of the tracks geometry. Therefore, providing a Y height is unnecessary.
Crab appears to have a maximum patrolling distance and will patrol between end --> max distance rather than start --> end or start --> max distance.
|
explicit |
|
inline |
|
overridevirtual |
|
overridevirtual |
Reimplemented from OObject.
| void OCrab::DrawModel | ( | s32 | cameraId | ) |
| void OCrab::func_80082B34 | ( | s32 | objectIndex | ) |
| void OCrab::func_80082C30 | ( | s32 | objectIndex | ) |
| void OCrab::func_80082E18 | ( | s32 | objectIndex | ) |
| void OCrab::init_ktb_crab | ( | s32 | objectIndex | ) |
|
overridevirtual |
Reimplemented from OObject.
|
overridevirtual |
|
staticprivate |
|
private |
|
private |
|
private |