summaryrefslogtreecommitdiffstats
path: root/Tile.gd
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-20 12:22:11 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-20 12:22:11 +0200
commitf3c455fbfb8b28b095c161eb7769ed92f1acb862 (patch)
treec6508316d353d90aca1f59d5ebf71aed7825d73f /Tile.gd
parent9c38e27d49f4030e3d2deba067c96cf058a64476 (diff)
downloadgodot-hexgrid-f3c455fbfb8b28b095c161eb7769ed92f1acb862.zip
godot-hexgrid-f3c455fbfb8b28b095c161eb7769ed92f1acb862.tar.gz
remove unnecessary method prototypes from Tile
Diffstat (limited to 'Tile.gd')
-rw-r--r--Tile.gd15
1 files changed, 0 insertions, 15 deletions
diff --git a/Tile.gd b/Tile.gd
index bee8b6a..a3285e5 100644
--- a/Tile.gd
+++ b/Tile.gd
@@ -35,21 +35,6 @@ func block_los(from : Tile, to : Tile, d : float, dt : float) -> bool:
print("Tile#block_los() must be overriden in a subclass")
return false
-# range value modifier when firing out of this tile with a given category of weapon
-func range_modifier(category : int) -> int:
- print("Tile#range_modifier() must be overriden in a subclass")
- return 0
-
-# attack value modifier when firing out of this tile with a given category of weapon with a given orientation
-func attack_modifier(category : int, orientation : int) -> int:
- print("Tile#attack_modifier() must be overriden in a subclass")
- return 0
-
-# defense value provided by this tile against a given category of weapon incoming from a given orientation
-func defense_value(category : int, orientation : int) -> int:
- print("Tile#defense_value() must be overriden in a subclass")
- return 0
-
func enable_overlay(i :int, v : bool) -> void:
get_child(i).visible = v
if v: visible = true