This commit is contained in:
Isuru Samarathunga
2025-10-21 21:03:40 +05:30
parent 86ed9346aa
commit 2d5875d211
11 changed files with 239 additions and 165 deletions

View File

@ -43,8 +43,11 @@ namespace ia::iae
STATIC BOOL IsPointerDown();
STATIC Vec2 GetPointerPosition();
STATIC BOOL IsPointerDown(IN CONST Vec2& start, IN CONST Vec2& end);
STATIC BOOL DidPointerClick(IN CONST Vec2& start, IN CONST Vec2& end);
STATIC BOOL DidPointerClick(IN CONST Vec2& center, IN FLOAT32 radius);
STATIC BOOL IsPointerDown(IN CONST Vec2& center, IN FLOAT32 radius);
STATIC BOOL IsKeyDown(IN InputKey key);
STATIC BOOL WasKeyPressed(IN InputKey key);
@ -93,6 +96,7 @@ namespace ia::iae
STATIC VOID OnSDLEvent(IN SDL_Event *event);
friend class Engine;
friend class __Internal_Engine;
};
} // namespace ia::iae