mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 04:16:50 +01:00
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="GSAIKinematicBody2DAgent" inherits="GSAISpecializedAgent" version="4.4">
|
|
<brief_description>
|
|
A specialized steering agent that updates itself every frame so the user does not have to using a KinematicBody2D.
|
|
</brief_description>
|
|
<description>
|
|
A specialized steering agent that updates itself every frame so the user does not have to using a KinematicBody2D.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="body" type="KinematicBody2D" setter="set_body" getter="get_body">
|
|
The KinematicBody2D to keep track of.
|
|
</member>
|
|
<member name="movement_type" type="int" setter="set_movement_type" getter="get_movement_type" default="0">
|
|
SLIDE uses move_and_slide.
|
|
COLLIDE uses move_and_collide.
|
|
POSITION changes the global_position directly.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="SLIDE" value="0" enum="MovementType">
|
|
</constant>
|
|
<constant name="COLLIDE" value="1" enum="MovementType">
|
|
</constant>
|
|
<constant name="POSITION" value="2" enum="MovementType">
|
|
</constant>
|
|
</constants>
|
|
</class>
|