starcheese/input_event.gd
Elliot Stirling 7542472833 Event Bus
2024-10-03 18:12:33 +01:00

11 lines
196 B
GDScript

class_name KeyboardInputEvent
extends Event
var action: String
var pressed: bool
func _init(_action: String, _pressed: bool):
action = _action
pressed = _pressed
type = "KeyboardInputEvent"