Peoplemon  0.1.0
Peoplemon 3 game source documentation
LevelTransition.hpp
Go to the documentation of this file.
1 #ifndef CORE_MAPS_LEVELTRANSITION_HPP
2 #define CORE_MAPS_LEVELTRANSITION_HPP
3 
4 #include <cstdint>
5 
6 namespace core
7 {
8 namespace map
9 {
19 enum struct LevelTransition : std::uint8_t {
21  None = 0,
22 
25 
28 
30  VerticalTopUp = 3,
31 
33  VerticalTopDown = 4
34 };
35 
36 } // namespace map
37 } // namespace core
38 
39 #endif
LevelTransition
Represents a level transition in a map. Level transitions are applied when an entity moves either ont...
@ HorizontalRightUp
Entities moving horizontally move up when going right and down when going left.
@ VerticalTopDown
Entities moving vertically move down when going north and up when going south.
@ None
No level transition, entity stays on same level.
@ VerticalTopUp
Entities moving vertically move up when going north and down when going south.
@ HorizontalRightDown
Entities moving horizontally move down when going right and up when going left.
Core classes and functionality for both the editor and game.