feat: add deterministic run state and events
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user