Kinoko
A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ItemInventory.hh
1
#pragma once
2
3
#include "game/item/ItemId.hh"
4
5
namespace
Item
{
6
8
class
ItemInventory
{
9
public
:
10
ItemInventory
();
11
~ItemInventory
();
12
14
void
setItem(ItemId
id
);
15
void
useItem(
int
count);
16
void
clear();
18
20
[[nodiscard]] ItemId id()
const
{
21
return
m_currentId;
22
}
24
25
private
:
26
ItemId m_currentId;
27
int
m_currentCount;
28
};
29
30
}
// namespace Item
Item::ItemInventory
Definition
ItemInventory.hh:8
Item
Pertains to item handling.
Definition
ItemDirector.cc:5
game
item
ItemInventory.hh
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.12.0