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

Description

Definition at line 8 of file ItemInventory.hh.

Setters

void setItem (ItemId id)
 
void useItem (int count)
 
void clear ()
 

Getters

ItemId id () const
 

Private Attributes

ItemId m_currentId
 
int m_currentCount
 

Member Function Documentation

◆ clear()

void Item::ItemInventory::clear ( )
0x807BC9C0

Definition at line 28 of file ItemInventory.cc.

◆ id()

ItemId Item::ItemInventory::id ( ) const
inlinenodiscard

Definition at line 20 of file ItemInventory.hh.

◆ setItem()

void Item::ItemInventory::setItem ( ItemId id)
0x807BC940

Definition at line 10 of file ItemInventory.cc.

◆ useItem()

void Item::ItemInventory::useItem ( int count)
0x807BC97C

Definition at line 18 of file ItemInventory.cc.

Member Data Documentation

◆ m_currentCount

int Item::ItemInventory::m_currentCount
private

Definition at line 27 of file ItemInventory.hh.

◆ m_currentId

ItemId Item::ItemInventory::m_currentId
private

Definition at line 26 of file ItemInventory.hh.