feat: add ranged combat targeting
This commit is contained in:
@@ -3,7 +3,9 @@ extends RefCounted
|
||||
|
||||
var kind: StringName
|
||||
var direction: Vector2i
|
||||
var target_id: StringName
|
||||
|
||||
func _init(new_kind: StringName, new_direction: Vector2i = Vector2i.ZERO) -> void:
|
||||
func _init(new_kind: StringName, new_direction: Vector2i = Vector2i.ZERO, new_target_id: StringName = &"") -> void:
|
||||
kind = new_kind
|
||||
direction = new_direction
|
||||
target_id = new_target_id
|
||||
|
||||
Reference in New Issue
Block a user