summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-20 12:38:31 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-20 12:38:31 +0200
commit1153ea4ba0874c6fb0408bcacd815e4e426652a8 (patch)
treed658ac68adf263335fc675b7535451d2666ec728
parentc0924bec8e498187256d5dff0b3d0e8a6f40f36c (diff)
downloadgodot-hexgrid-1153ea4ba0874c6fb0408bcacd815e4e426652a8.zip
godot-hexgrid-1153ea4ba0874c6fb0408bcacd815e4e426652a8.tar.gz
rename HexBoard into HexMap
-rw-r--r--HexMap.gd (renamed from HexBoard.gd)2
-rw-r--r--godot/HexMap.png (renamed from godot/HexBoard.png)bin1209 -> 1209 bytes
-rw-r--r--project.godot4
3 files changed, 3 insertions, 3 deletions
diff --git a/HexBoard.gd b/HexMap.gd
index c883061..7520972 100644
--- a/HexBoard.gd
+++ b/HexMap.gd
@@ -1,7 +1,7 @@
#warning-ignore-all:integer_division
extends Node
-class_name HexBoard, "res://godot/HexBoard.png"
+class_name HexBoard, "res://godot/HexMap.png"
enum Orientation { E=1, NE=2, N=4, NW=8, W=16, SW=32, S=64, SE=128 }
diff --git a/godot/HexBoard.png b/godot/HexMap.png
index add6a52..add6a52 100644
--- a/godot/HexBoard.png
+++ b/godot/HexMap.png
Binary files differ
diff --git a/project.godot b/project.godot
index 7f0176a..6cc5ad5 100644
--- a/project.godot
+++ b/project.godot
@@ -17,7 +17,7 @@ _global_script_classes=[ {
"base": "Node",
"class": "HexBoard",
"language": "GDScript",
-"path": "res://HexBoard.gd"
+"path": "res://HexMap.gd"
}, {
"base": "Node2D",
"class": "Piece",
@@ -36,7 +36,7 @@ _global_script_classes=[ {
} ]
_global_script_class_icons={
"Hex": "res://godot/Tile.png",
-"HexBoard": "res://godot/HexBoard.png",
+"HexBoard": "res://godot/HexMap.png",
"Piece": "res://godot/Piece.png",
"Tile": "res://godot/Tile.png",
"Unit": "res://godot/Piece.png"