Prepared Movement behaviour. Fixed multi-tile placement bug
This commit is contained in:
parent
62eef907d3
commit
397082f966
17 changed files with 395 additions and 75 deletions
|
|
@ -1,11 +1,11 @@
|
|||
extends Resource
|
||||
class_name ActionBehaviour
|
||||
|
||||
func do_action() -> void:
|
||||
func do_action(source_tile: InsectTile, action_tile: InsectTile, map: HexGrid) -> void:
|
||||
pass
|
||||
|
||||
func select_targets(source_pos: Vector4i, map: HexGrid) -> void:
|
||||
pass
|
||||
func get_targets(source_pos: Vector4i, map: HexGrid) -> Array[InsectTile]:
|
||||
return []
|
||||
|
||||
# NOTE: When selecting a tile, check if there is an action behaviour
|
||||
# If yes: In addition to showing moveable spaces (0 for the mosquito by default)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue