public class OutriggerService extends Object
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.Date |
date |
private ch.sahits.game.openpatrician.model.map.IMap |
map |
| Constructor and Description |
|---|
OutriggerService() |
| Modifier and Type | Method and Description |
|---|---|
int |
getRequiredWeaponStrength(ch.sahits.game.openpatrician.model.city.ICity city)
Calculate the required weapons strength for a city.
|
int |
getWeeklyReund(ch.sahits.game.openpatrician.model.city.ICity city)
Calculate the weekly premium.
|
@Autowired private ch.sahits.game.openpatrician.model.Date date
@Autowired private ch.sahits.game.openpatrician.model.map.IMap map
public int getRequiredWeaponStrength(ch.sahits.game.openpatrician.model.city.ICity city)
city - public int getWeeklyReund(ch.sahits.game.openpatrician.model.city.ICity city)
city - Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.