Added End Turn button so we can do multiple actions per round - this will be limited by energy shortly
This commit is contained in:
@ -105,7 +105,6 @@ void GameData::handle_click(int x, int y)
|
||||
{
|
||||
current->x = x;
|
||||
current->y = y;
|
||||
toggle_turn();
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -162,7 +161,7 @@ bool GameData::add_vertex(int x, int y, int z, int r, int colour)
|
||||
|
||||
if (Graph::add_vertex(v, current))
|
||||
{
|
||||
toggle_turn();
|
||||
mode = MODE_SELECT;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -225,7 +224,7 @@ void GameData::attack_vertex(GameVertex* target)
|
||||
fprintf(stderr, "debug: GameData::attack_vertex(): atk=%.2f, armor=%.2f, damage=%d\n", atk, armor, damage);
|
||||
#endif
|
||||
|
||||
toggle_turn();
|
||||
mode = MODE_SELECT;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user