Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void placeArmies(Player player)
- {
- System.out.println("You have 3 armies to place.");
- for (int armies = 3 ; armies>0 ; --armies)
- {
- status();
- choice();
- Territory territoryOutput = territoryInput();
- Player owner = territoryOutput.ownerCheck();
- if ( owner == player || owner == null )
- {
- player.placeArmies(1, territoryOutput);
- }
- else
- {
- ++armies;
- }
- }
- status();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement