public class SocialRankChecker extends Object
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
private ch.sahits.game.openpatrician.model.Date |
date |
private ch.sahits.game.openpatrician.model.city.guild.GuildList |
guildList |
private org.apache.logging.log4j.Logger |
logger |
private ch.sahits.game.openpatrician.model.map.IMap |
map |
private ch.sahits.game.openpatrician.model.PlayerList |
players |
private ReputationCalculator |
repCalculator |
| Constructor and Description |
|---|
SocialRankChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
doMonthlyCheck() |
private boolean |
isNextRankAchievable(ch.sahits.game.openpatrician.model.IPlayer player) |
private boolean |
isReputationTooLow(ch.sahits.game.openpatrician.model.IPlayer player) |
private boolean |
notEnoughMoney(ch.sahits.game.openpatrician.model.IPlayer player) |
private final org.apache.logging.log4j.Logger logger
@Autowired @Qualifier(value="serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
@Autowired private ch.sahits.game.openpatrician.model.PlayerList players
@Autowired private ReputationCalculator repCalculator
@Autowired private ch.sahits.game.openpatrician.model.city.guild.GuildList guildList
@Autowired private ch.sahits.game.openpatrician.model.Date date
@Autowired private ch.sahits.game.openpatrician.model.map.IMap map
public void doMonthlyCheck()
private boolean isNextRankAchievable(ch.sahits.game.openpatrician.model.IPlayer player)
private boolean isReputationTooLow(ch.sahits.game.openpatrician.model.IPlayer player)
private boolean notEnoughMoney(ch.sahits.game.openpatrician.model.IPlayer player)
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.