diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-20 12:22:11 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-20 12:22:11 +0200 |
commit | f3c455fbfb8b28b095c161eb7769ed92f1acb862 (patch) | |
tree | c6508316d353d90aca1f59d5ebf71aed7825d73f /Tile.gd | |
parent | 9c38e27d49f4030e3d2deba067c96cf058a64476 (diff) | |
download | godot-hexgrid-f3c455fbfb8b28b095c161eb7769ed92f1acb862.zip godot-hexgrid-f3c455fbfb8b28b095c161eb7769ed92f1acb862.tar.gz |
remove unnecessary method prototypes from Tile
Diffstat (limited to 'Tile.gd')
-rw-r--r-- | Tile.gd | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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 |