From 7e98b2e78511854da7c2b4e595a65688db9962cb Mon Sep 17 00:00:00 2001 From: Nathan Lovato Date: Tue, 11 Feb 2020 12:44:13 -0600 Subject: [PATCH] Rename 3D physics body classes to *3DAgent --- project/project.godot | 12 ++++++------ ...maticBodyAgent.gd => GSAIKinematicBody3DAgent.gd} | 2 +- ...GSAIRigidBodyAgent.gd => GSAIRigidBody3DAgent.gd} | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) rename project/src/Agents/{GSAIKinematicBodyAgent.gd => GSAIKinematicBody3DAgent.gd} (99%) rename project/src/Agents/{GSAIRigidBodyAgent.gd => GSAIRigidBody3DAgent.gd} (97%) diff --git a/project/project.godot b/project/project.godot index c47e3b9..96c999c 100644 --- a/project/project.godot +++ b/project/project.godot @@ -75,9 +75,9 @@ _global_script_classes=[ { "path": "res://src/Agents/GSAIKinematicBody2DAgent.gd" }, { "base": "GSAISpecializedAgent", -"class": "GSAIKinematicBodyAgent", +"class": "GSAIKinematicBody3DAgent", "language": "GDScript", -"path": "res://src/Agents/GSAIKinematicBodyAgent.gd" +"path": "res://src/Agents/GSAIKinematicBody3DAgent.gd" }, { "base": "GSAIMatchOrientation", "class": "GSAILookWhereYouGo", @@ -120,9 +120,9 @@ _global_script_classes=[ { "path": "res://src/Agents/GSAIRigidBody2DAgent.gd" }, { "base": "GSAISpecializedAgent", -"class": "GSAIRigidBodyAgent", +"class": "GSAIRigidBody3DAgent", "language": "GDScript", -"path": "res://src/Agents/GSAIRigidBodyAgent.gd" +"path": "res://src/Agents/GSAIRigidBody3DAgent.gd" }, { "base": "GSAISteeringBehavior", "class": "GSAISeek", @@ -173,7 +173,7 @@ _global_script_class_icons={ "GSAIGroupBehavior": "", "GSAIInfiniteProximity": "", "GSAIKinematicBody2DAgent": "", -"GSAIKinematicBodyAgent": "", +"GSAIKinematicBody3DAgent": "", "GSAILookWhereYouGo": "", "GSAIMatchOrientation": "", "GSAIPath": "", @@ -182,7 +182,7 @@ _global_script_class_icons={ "GSAIPursue": "", "GSAIRadiusProximity": "", "GSAIRigidBody2DAgent": "", -"GSAIRigidBodyAgent": "", +"GSAIRigidBody3DAgent": "", "GSAISeek": "", "GSAISeparation": "", "GSAISpecializedAgent": "", diff --git a/project/src/Agents/GSAIKinematicBodyAgent.gd b/project/src/Agents/GSAIKinematicBody3DAgent.gd similarity index 99% rename from project/src/Agents/GSAIKinematicBodyAgent.gd rename to project/src/Agents/GSAIKinematicBody3DAgent.gd index 7113174..6782a64 100644 --- a/project/src/Agents/GSAIKinematicBodyAgent.gd +++ b/project/src/Agents/GSAIKinematicBody3DAgent.gd @@ -1,7 +1,7 @@ # A specialized steering agent that updates itself every frame so the user does # not have to using a KinematicBody extends GSAISpecializedAgent -class_name GSAIKinematicBodyAgent +class_name GSAIKinematicBody3DAgent # SLIDE uses `move_and_slide` # COLLIDE uses `move_and_collide` diff --git a/project/src/Agents/GSAIRigidBodyAgent.gd b/project/src/Agents/GSAIRigidBody3DAgent.gd similarity index 97% rename from project/src/Agents/GSAIRigidBodyAgent.gd rename to project/src/Agents/GSAIRigidBody3DAgent.gd index f8f8505..fb7f4e8 100644 --- a/project/src/Agents/GSAIRigidBodyAgent.gd +++ b/project/src/Agents/GSAIRigidBody3DAgent.gd @@ -1,7 +1,7 @@ # A specialized steering agent that updates itself every frame so the user does # not have to using a RigidBody extends GSAISpecializedAgent -class_name GSAIRigidBodyAgent +class_name GSAIRigidBody3DAgent # The RigidBody to keep track of