Peoplemon  0.1.0
Peoplemon 3 game source documentation
Item.hpp
Go to the documentation of this file.
1 #ifndef CORE_EVENTS_ITEM_HPP
2 #define CORE_EVENTS_ITEM_HPP
3 
4 #include <Core/Items/Id.hpp>
5 
6 namespace core
7 {
8 namespace event
9 {
16 struct ItemPickedUp {
19 
26  : item(item) {}
27 };
28 
29 } // namespace event
30 } // namespace core
31 
32 #endif
Id
Represents an item in its simplist form.
Definition: Id.hpp:24
Core classes and functionality for both the editor and game.
Fired when an item is picked up.
Definition: Item.hpp:16
ItemPickedUp(item::Id item)
Construct a new ItemPickedUp event.
Definition: Item.hpp:25
item::Id item
The id of the item that was picked up.
Definition: Item.hpp:18