Mario Kart 64
Loading...
Searching...
No Matches
OCrab Class Reference

#include <Crab.h>

Inheritance diagram for OCrab:
[legend]
Collaboration diagram for OCrab:
[legend]

Public Member Functions

 OCrab (const FVector2D &start, const FVector2D &end)
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) 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 ()
 
virtual void Tick60fps ()
 
virtual void Expire ()
 
virtual void Destroy ()
 
virtual void Reset ()
 

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 = ""
 
bool bPendingDestroy = false
 
s32 _objectIndex = -1
 

Detailed Description

  • start x and z spawn location
  • end x and z patrol location

Crab patrols between start and end. The game automatically places the actor on the course surface. 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.

Constructor & Destructor Documentation

◆ OCrab()

OCrab::OCrab ( const FVector2D & start,
const FVector2D & end )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ Draw()

void OCrab::Draw ( s32 cameraId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ DrawModel()

void OCrab::DrawModel ( s32 cameraId)
Here is the call graph for this function:

◆ func_80082B34()

void OCrab::func_80082B34 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80082C30()

void OCrab::func_80082C30 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80082E18()

void OCrab::func_80082E18 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_ktb_crab()

void OCrab::init_ktb_crab ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Tick()

void OCrab::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

Field Documentation

◆ _count

size_t OCrab::_count = 0
staticprivate

◆ _end

FVector2D OCrab::_end
private

◆ _idx

s32 OCrab::_idx
private

◆ _start

FVector2D OCrab::_start
private

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