10 lines
217 B
GDScript
10 lines
217 B
GDScript
class_name PlayerAction
|
|
extends RefCounted
|
|
|
|
var kind: StringName
|
|
var direction: Vector2i
|
|
|
|
func _init(new_kind: StringName, new_direction: Vector2i = Vector2i.ZERO) -> void:
|
|
kind = new_kind
|
|
direction = new_direction
|