MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / Mode

Enum Mode

examples/TEST_Camera2D.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 {
68 public:
69 enum class Mode : uint8_t
70 {
71 Simple, // No motion, just directly settable
72 EdgeMove, // Moves as target crosses boundary
73 LazyFollow, // Lazily follows the target
74 FixedScreens, // Moves statically between "screens"
75 SlideScreens, // MOves statically between "screens" but with a fast transition
76 };
77
78 public:
79 inline Camera2D() : m_pTarget(&m_vLocalTarget) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected