Peoplemon  0.1.0
Peoplemon 3 game source documentation
Collision.hpp
Go to the documentation of this file.
1 #ifndef CORE_MAPS_COLLISION_HPP
2 #define CORE_MAPS_COLLISION_HPP
3 
4 #include <cstdint>
5 
6 namespace core
7 {
8 namespace map
9 {
16 enum struct Collision : std::uint8_t {
17  Blocked = 0,
18  Open = 1,
19  TopOpen = 2,
20  RightOpen = 3,
21  BottomOpen = 4,
22  LeftOpen = 5,
23  TopRightOpen = 6,
24  BottomRightOpen = 7,
25  BottomLeftOpen = 8,
26  TopLeftOpen = 9,
27  TopBottomOpen = 10,
28  LeftRightOpen = 11,
29  TopClosed = 12,
30  RightClosed = 13,
31  BottomClosed = 14,
32  LeftClosed = 15,
33  SurfRequired = 16,
34  WaterfallRequired = 17,
35  LedgeHop = 18
36 };
37 
38 } // namespace map
39 } // namespace core
40 
41 #endif
Collision
The different types of collisions in maps.
Definition: Collision.hpp:16
Core classes and functionality for both the editor and game.