SpaghettiKart
Loading...
Searching...
No Matches
OObject Class Reference

#include <Object.h>

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

Public Member Functions

virtual ~OObject ()=default
 
 OObject ()
 
 OObject (SpawnParams params)
 
virtual void SetSpawnParams (SpawnParams &params)
 
virtual void Tick ()
 
virtual void Tick60fps ()
 
virtual void Draw (s32 cameraId)
 
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)
 
virtual void DrawEditorProperties ()
 

Data Fields

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< TriangleTriangles
 

Constructor & Destructor Documentation

◆ ~OObject()

virtual OObject::~OObject ( )
virtualdefault

◆ OObject() [1/2]

OObject::OObject ( )
explicit
Here is the caller graph for this function:

◆ OObject() [2/2]

OObject::OObject ( SpawnParams params)
explicit

Member Function Documentation

◆ Destroy()

void OObject::Destroy ( )
virtual
Here is the caller graph for this function:

◆ Draw()

◆ DrawEditorProperties()

virtual void OObject::DrawEditorProperties ( )
inlinevirtual

Reimplemented in OBombKart, OBoos, OCheepCheep, OCrab, OHedgehog, OPenguin, OThwomp, and OTrophy.

Here is the call graph for this function:

◆ Expire()

void OObject::Expire ( )
virtual

◆ GetLocation()

FVector OObject::GetLocation ( ) const
Here is the caller graph for this function:

◆ GetRotation()

IRotator OObject::GetRotation ( ) const
Here is the caller graph for this function:

◆ GetScale()

FVector OObject::GetScale ( ) const
Here is the caller graph for this function:

◆ Reset()

void OObject::Reset ( )
virtual

Reimplemented in OPenguin.

◆ Rotate()

void OObject::Rotate ( IRotator rot)
Here is the caller graph for this function:

◆ SetScale()

void OObject::SetScale ( FVector scale)
Here is the caller graph for this function:

◆ SetSpawnParams()

void OObject::SetSpawnParams ( SpawnParams & params)
virtual

Reimplemented in OBoos, OCheepCheep, OCrab, OHedgehog, OHotAirBalloon, OThwomp, and OTrophy.

Here is the caller graph for this function:

◆ Tick()

◆ Tick60fps()

void OObject::Tick60fps ( )
virtual

Reimplemented in OLakitu, and OThwomp.

◆ Translate()

void OObject::Translate ( FVector pos)
virtual

Reimplemented in OBombKart, and OSnowman.

Here is the caller graph for this function:

Field Documentation

◆ _objectIndex

s32 OObject::_objectIndex = -1

◆ bPendingDestroy

bool OObject::bPendingDestroy = false

◆ Model

const char* OObject::Model = ""

◆ Name

const char* OObject::Name = ""

◆ o

Object OObject::o

◆ ResourceName

const char* OObject::ResourceName = ""

◆ SpawnPos

FVector OObject::SpawnPos = {0.0f, 0.0f, 0.0f}

◆ SpawnRot

IRotator OObject::SpawnRot = {0, 0, 0}

◆ SpawnScale

FVector OObject::SpawnScale = {1.0f, 1.0f, 1.0f}

◆ Speed

float OObject::Speed = 0.0f

◆ Triangles

std::vector<Triangle> OObject::Triangles

◆ uuid

uint8_t OObject::uuid[16]

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