beautify project
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user