beautify project

This commit is contained in:
2020-05-15 10:51:54 +02:00
parent e28b8521d1
commit ccdbf5b158
8 changed files with 59 additions and 20 deletions

View File

@ -13,13 +13,11 @@ func left_click_on_hex(hex_node):
if hex_node.is_free():
if _game_manager.get_previous_hex() != null:
print("try to occupy")
if hex_node in _game_manager.get_previous_hex().get_neighbours():
print("Yea")
_game_manager.try_to_occupy_hex(hex_node)
else:
_game_manager.try_to_occupy_hex(hex_node)
func right_click_on_hex(hex_node):
print("Right click")
pass