public class PatrolInternalState extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
bonusPerAttack |
private List<ch.sahits.game.openpatrician.model.city.ICity> |
cities |
private int |
numberOfAttacks |
private int |
premium |
| Constructor and Description |
|---|
PatrolInternalState(int premium,
int bonusPerAttack,
ch.sahits.game.openpatrician.model.city.ICity[] destinations) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBonusPerAttack() |
int |
getNumberOfAttacks() |
int |
getPremium() |
void |
incAttackCounter() |
Optional<ch.sahits.game.openpatrician.model.city.ICity> |
nextDestination() |
void |
removeFirstCity() |
private final int premium
private final int bonusPerAttack
private int numberOfAttacks
private List<ch.sahits.game.openpatrician.model.city.ICity> cities
public PatrolInternalState(int premium,
int bonusPerAttack,
ch.sahits.game.openpatrician.model.city.ICity[] destinations)
public int getPremium()
public int getBonusPerAttack()
public int getNumberOfAttacks()
public void incAttackCounter()
public void removeFirstCity()
public Optional<ch.sahits.game.openpatrician.model.city.ICity> nextDestination()
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.