A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Kart::KartTire Class Reference

#include <KartTire.hh>

Description

A holder for a wheel's physics data.

Definition at line 9 of file KartTire.hh.

Inheritance diagram for Kart::KartTire:

Public Member Functions

 KartTire (KartSuspensionPhysics::TireType tireType, u16 bspWheelIdx)
 
virtual void createPhysics (u16 tireIdx)
 
void init (u16 tireIdx)
 
void initBsp ()
 

Getters

WheelPhysicswheelPhysics ()
 

Protected Attributes

KartSuspensionPhysics::TireType m_tireType
 
u16 m_bspWheelIdx
 
WheelPhysicsm_wheelPhysics
 

Constructor & Destructor Documentation

◆ KartTire()

Kart::KartTire::KartTire ( KartSuspensionPhysics::TireType tireType,
u16 bspWheelIdx )
0x8059AA44

Definition at line 6 of file KartTire.cc.

◆ ~KartTire()

Kart::KartTire::~KartTire ( )
virtual0x8058EC08

Definition at line 10 of file KartTire.cc.

Member Function Documentation

◆ createPhysics()

void Kart::KartTire::createPhysics ( u16 tireIdx)
virtual0x8059AB14

Definition at line 15 of file KartTire.cc.

◆ init()

void Kart::KartTire::init ( u16 tireIdx)
0x8059AAB0

Definition at line 20 of file KartTire.cc.

◆ initBsp()

void Kart::KartTire::initBsp ( )
0x8059AB68

Definition at line 26 of file KartTire.cc.

◆ wheelPhysics()

WheelPhysics * Kart::KartTire::wheelPhysics ( )
inlinenodiscard

Definition at line 20 of file KartTire.hh.

Member Data Documentation

◆ m_bspWheelIdx

u16 Kart::KartTire::m_bspWheelIdx
protected

Definition at line 27 of file KartTire.hh.

◆ m_tireType

KartSuspensionPhysics::TireType Kart::KartTire::m_tireType
protected

Definition at line 26 of file KartTire.hh.

◆ m_wheelPhysics

WheelPhysics* Kart::KartTire::m_wheelPhysics
protected

Definition at line 28 of file KartTire.hh.