Skip to content

Commit 3d8f3b5

Browse files
committed
Rename InteractivePawn -> PawnInteractive
1 parent 1a92cd4 commit 3d8f3b5

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

godot/local_map/LocalMap.tscn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
[ext_resource path="res://local_map/grid/SpawningPoint.tscn" type="PackedScene" id=5]
88
[ext_resource path="res://local_map/grid/PawnContainer.gd" type="Script" id=6]
99
[ext_resource path="res://party/Party.tscn" type="PackedScene" id=7]
10-
[ext_resource path="res://local_map/pawns/InteractivePawn.tscn" type="PackedScene" id=8]
10+
[ext_resource path="res://local_map/pawns/PawnInteractive.tscn" type="PackedScene" id=8]
1111
[ext_resource path="res://local_map/pawns/actions/StartCombatAction.tscn" type="PackedScene" id=9]
1212
[ext_resource path="res://combat/battlers/formations/PorcupineFormation001.tscn" type="PackedScene" id=10]
1313
[ext_resource path="res://local_map/pawns/actions/DialogueAction.tscn" type="PackedScene" id=11]
1414
[ext_resource path="res://interface/gui/DialogueBox.tscn" type="PackedScene" id=12]
1515

16+
1617
[sub_resource type="RectangleShape2D" id=1]
1718

1819
extents = Vector2( 50, 50 )
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
extends PawnActor
2-
class_name InteractivePawn
2+
class_name PawnInteractive
33

44
onready var raycasts : = $Raycasts as Node2D
55
onready var dialogue_balloon : = $DialogueBalloon as Sprite
@@ -69,7 +69,7 @@ func start_interaction() -> void:
6969
Pauses the game and play each action under the $Actions node
7070
Actions that transition to another scene (e.g. StartCombatAction) may unpause
7171
the game themselves
72-
InteractivePawn processes even when the game is paused, but not
72+
PawnInteractive processes even when the game is paused, but not
7373
PawnLeader, the player-controlled pawn
7474
"""
7575
dialogue_balloon.hide()

godot/local_map/pawns/InteractivePawn.tscn renamed to godot/local_map/pawns/PawnInteractive.tscn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[gd_scene load_steps=5 format=2]
22

3-
[ext_resource path="res://local_map/pawns/InteractivePawn.gd" type="Script" id=1]
3+
[ext_resource path="res://local_map/pawns/PawnInteractive.gd" type="Script" id=1]
44
[ext_resource path="res://local_map/pawns/sprites/star.png" type="Texture" id=2]
55
[ext_resource path="res://assets/sprites/dialogue_balloon.png" type="Texture" id=3]
66

godot/project.godot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ _global_script_classes=[ {
9999
"language": "GDScript",
100100
"path": "res://combat/Hit.gd"
101101
}, {
102-
"base": "Node2D",
102+
"base": "PawnActor",
103103
"class": "InteractivePawn",
104104
"language": "GDScript",
105-
"path": "res://local_map/pawns/InteractivePawn.gd"
105+
"path": "res://local_map/pawns/PawnInteractive.gd"
106106
}, {
107107
"base": "Reference",
108108
"class": "Inventory",

0 commit comments

Comments
 (0)