public class PatrolInternalState
extends java.lang.Object
| Constructor | Description |
|---|---|
PatrolInternalState(int premium,
int bonusPerAttack,
ch.sahits.game.openpatrician.model.city.ICity[] destinations) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getBonusPerAttack() |
|
int |
getNumberOfAttacks() |
|
int |
getPremium() |
|
void |
incAttackCounter() |
|
java.util.Optional<ch.sahits.game.openpatrician.model.city.ICity> |
nextDestination() |
|
void |
removeFirstCity() |
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 java.util.Optional<ch.sahits.game.openpatrician.model.city.ICity> nextDestination()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.