Peoplemon  0.1.0
Peoplemon 3 game source documentation
Item.cpp
Go to the documentation of this file.
2 
3 namespace core
4 {
5 namespace component
6 {
8 : item(item) {}
9 
10 item::Id Item::id() const { return item; }
11 
12 } // namespace component
13 } // namespace core
Id
Represents an item in its simplist form.
Definition: Id.hpp:24
Core classes and functionality for both the editor and game.
Item(item::Id id)
Construct a new Item component.
Definition: Item.cpp:7
item::Id id() const
Returns the item id of this item entity.
Definition: Item.cpp:10