MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / AddEvent

Method AddEvent

engine/src/event.h:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 ~PositionEventList() {};
71
72 void AddEvent(Vector2 pos = Vector2(0, 0), void(*_function)() = NULL)
73 {
74 position = pos;
75 chainOfEvents.push_back(Event(_function));
76 };
77
78 void Execute()
79 {

Callers

nothing calls this directly

Calls 2

Vector2Class · 0.85
EventClass · 0.85

Tested by

no test coverage detected