Anvil Engine
Loading...
Searching...
No Matches
AnvilInput Class Reference

A static class for handling keyboard input using GLFW. More...

#include <AnvilInput.h>

Static Public Member Functions

static bool IsKeyPressed (int key)
 Checks if a specific key is currently pressed.

Detailed Description

A static class for handling keyboard input using GLFW.

Member Function Documentation

◆ IsKeyPressed()

bool AnvilInput::IsKeyPressed ( int key)
inlinestatic

Checks if a specific key is currently pressed.

Parameters
keyThe key to check (using GLFW key codes).
Returns
True if the key is pressed, false otherwise.

The documentation for this class was generated from the following file: