Peoplemon  0.1.0
Peoplemon 3 game source documentation
Item.cpp
Go to the documentation of this file.
1 #include <Core/Maps/Item.hpp>
2 
3 namespace core
4 {
5 namespace map
6 {
8 : id(0)
9 , mapId(0)
10 , level(0)
11 , visible(false) {}
12 
13 Item::Item(std::uint16_t i, std::uint16_t mi, const sf::Vector2i& pos, std::uint8_t l, bool v)
14 : id(i)
15 , mapId(mi)
16 , position(pos)
17 , level(l)
18 , visible(v) {}
19 
20 } // namespace map
21 } // namespace core
Core classes and functionality for both the editor and game.
Item()
Makes an empty item.
Definition: Item.cpp:7