summaryrefslogtreecommitdiffstats
path: root/demo/Unit.gd
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-03-14 21:45:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-03-14 21:45:00 +0100
commitc2a17228c19c4f959367b139e39c5e24dd7edd36 (patch)
tree2a898121b636f621bca67e332d439fc7c2e1c0fb /demo/Unit.gd
parentd7ae050e7dc27fa052a9f4dbf065fdb86a966967 (diff)
downloadgodot-hexgrid-c2a17228c19c4f959367b139e39c5e24dd7edd36.zip
godot-hexgrid-c2a17228c19c4f959367b139e39c5e24dd7edd36.tar.gz
go godot4
Diffstat (limited to 'demo/Unit.gd')
-rw-r--r--demo/Unit.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/Unit.gd b/demo/Unit.gd
index e18ebff..8783f6b 100644
--- a/demo/Unit.gd
+++ b/demo/Unit.gd
@@ -1,7 +1,7 @@
-#warning-ignore-all:unused_argument
+@icon('res://addons/hexgrid/Piece.png')
extends Piece
-class_name Unit, "res://addons/hexgrid/Piece.png"
+class_name Unit
func get_mp() -> int:
return 2