A Component to make an entity in a top down game Walk
new (options:TopDownWalkerOptions)
Create a new Walker component with options
Parameters:
null
options
set_controller (c:Controller):Void
Set controller
c
new controller
Returns:
controller = c
@:value(true)active:Bool = true
Whether or not this component gets updated
get_name ():String
returns the name of this component
get_priority ():Int
returns the priority of this component
has_tag (tag:String):Bool
Returns whether or not this component is tagged with given tag
tag
Bool return tags.indexOf(tag) >= 0
on_remove ():Void
Called when removed from an entity
set_priority (value:Int):Void
sets the priority of this component
value