![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Add this component to an entity to make it give an item when interacted with. On interact the owning entity is removed. More...
#include <Item.hpp>
Public Member Functions | |
Item (item::Id id) | |
Construct a new Item component. More... | |
item::Id | id () const |
Returns the item id of this item entity. More... | |
Add this component to an entity to make it give an item when interacted with. On interact the owning entity is removed.
core::component::Item::Item | ( | item::Id | id | ) |
item::Id core::component::Item::id | ( | ) | const |