forked from kanium/starcheese
11 lines
196 B
GDScript3
11 lines
196 B
GDScript3
|
|
class_name KeyboardInputEvent
|
||
|
|
extends Event
|
||
|
|
|
||
|
|
var action: String
|
||
|
|
var pressed: bool
|
||
|
|
|
||
|
|
func _init(_action: String, _pressed: bool):
|
||
|
|
action = _action
|
||
|
|
pressed = _pressed
|
||
|
|
type = "KeyboardInputEvent"
|