From f3c455fbfb8b28b095c161eb7769ed92f1acb862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 20 Jul 2020 12:22:11 +0200 Subject: remove unnecessary method prototypes from Tile --- Tile.gd | 15 --------------- 1 file changed, 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 -- cgit v1.1-2-g2b99