ESCWalkContext

Extends: Object

Description

The walk context describes the target of a walk command and if that command should be executed fast

Property Descriptions

target_object

var target_object: ESCObject

Target object that the walk command tries to reach

target_position

var target_position: Vector2 = "(0, 0)"

The target position

fast

var fast: bool

Whether to move fast

dont_interact_on_arrival

var dont_interact_on_arrival: bool

Whether an interaction should NOT happen after walk reaches destination

Method Descriptions

_init

func _init(p_target_object: ESCObject, p_target_position: Vector2, p_fast: bool, p_dont_interact_on_arrival: bool)