Methapolis
0.27
|
Public Member Functions | |
PlayerInfo (Micropolis city) | |
PlayerInfo (ResearchState researchState, CityEval cityEval, CityBudget budget) | |
void | setResearchState (ResearchState state) |
holds all infos about one player on the map
Definition at line 15 of file PlayerInfo.java.
micropolisj.engine.PlayerInfo.PlayerInfo | ( | Micropolis | city | ) |
Definition at line 120 of file PlayerInfo.java.
micropolisj.engine.PlayerInfo.PlayerInfo | ( | ResearchState | researchState, |
CityEval | cityEval, | ||
CityBudget | budget | ||
) |
Definition at line 124 of file PlayerInfo.java.
References micropolisj.engine.PlayerInfo.budget, micropolisj.engine.PlayerInfo.countdown, micropolisj.engine.PlayerInfo.evaluation, micropolisj.research.ResearchState.getResearchData(), micropolisj.engine.PlayerInfo.researchData, and micropolisj.engine.PlayerInfo.researchState.
void micropolisj.engine.PlayerInfo.setResearchState | ( | ResearchState | state | ) |
Definition at line 132 of file PlayerInfo.java.
References micropolisj.engine.PlayerInfo.researchState.
Referenced by micropolisj.gui.NewCityDialog.NewCityDialog().
int micropolisj.engine.PlayerInfo.airportCount |
Definition at line 48 of file PlayerInfo.java.
boolean micropolisj.engine.PlayerInfo.autoBudget = false |
Definition at line 26 of file PlayerInfo.java.
boolean micropolisj.engine.PlayerInfo.autoBulldoze = true |
Definition at line 25 of file PlayerInfo.java.
CityBudget micropolisj.engine.PlayerInfo.budget |
Definition at line 23 of file PlayerInfo.java.
Referenced by micropolisj.network.ServerMicropolis.addNewPlayer(), micropolisj.gui.CheatWindow.dispatchKeyEvent(), micropolisj.engine.Micropolis.generateBudget(), micropolisj.engine.PlayerInfo.PlayerInfo(), micropolisj.engine.Micropolis.setFunds(), and micropolisj.engine.Micropolis.spend().
int micropolisj.engine.PlayerInfo.cashFlow |
Definition at line 108 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
int micropolisj.engine.PlayerInfo.centerMassX |
Definition at line 71 of file PlayerInfo.java.
Referenced by micropolisj.gui.OverlayMapView.dragViewToCityCenter(), micropolisj.engine.Micropolis.init(), and micropolisj.engine.Micropolis.popDenScan().
int micropolisj.engine.PlayerInfo.centerMassY |
Definition at line 72 of file PlayerInfo.java.
Referenced by micropolisj.gui.OverlayMapView.dragViewToCityCenter(), micropolisj.engine.Micropolis.init(), and micropolisj.engine.Micropolis.popDenScan().
int micropolisj.engine.PlayerInfo.churchCount |
Definition at line 41 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
int micropolisj.engine.PlayerInfo.cityTax = 7 |
Definition at line 96 of file PlayerInfo.java.
Referenced by micropolisj.network.ServerMicropolis.doBudgetInput(), micropolisj.engine.Micropolis.generateBudget(), micropolisj.gui.BudgetDialog.onResetClicked(), and micropolisj.engine.Micropolis.setBudgetNumbers().
int micropolisj.engine.PlayerInfo.coalCount |
Definition at line 45 of file PlayerInfo.java.
boolean micropolisj.engine.PlayerInfo.comCap |
Definition at line 87 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.comPop |
Definition at line 38 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus(), and micropolisj.engine.Micropolis.takeCensus2().
int micropolisj.engine.PlayerInfo.comValve |
Definition at line 83 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.getComValve().
int micropolisj.engine.PlayerInfo.comZoneCount |
Definition at line 35 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.countdown |
Definition at line 20 of file PlayerInfo.java.
Referenced by micropolisj.engine.PlayerInfo.PlayerInfo().
int micropolisj.engine.PlayerInfo.crimeAverage |
Definition at line 77 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
int micropolisj.engine.PlayerInfo.crimeMaxLocationX |
Definition at line 69 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.crimeMaxLocationY |
Definition at line 70 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.crimeRamp |
Definition at line 89 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
CityEval micropolisj.engine.PlayerInfo.evaluation |
Definition at line 117 of file PlayerInfo.java.
Referenced by micropolisj.network.ClientMicropolis.applyPlayerInfo(), and micropolisj.engine.PlayerInfo.PlayerInfo().
int micropolisj.engine.PlayerInfo.fireEffect = 1000 |
Definition at line 105 of file PlayerInfo.java.
double micropolisj.engine.PlayerInfo.firePercent = 1.0 |
Definition at line 99 of file PlayerInfo.java.
Referenced by micropolisj.network.ServerMicropolis.doBudgetInput(), micropolisj.engine.Micropolis.generateBudget(), micropolisj.gui.BudgetDialog.onResetClicked(), and micropolisj.engine.Micropolis.setBudgetNumbers().
int micropolisj.engine.PlayerInfo.firePop |
Definition at line 33 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.fireStationCount |
Definition at line 43 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.hospitalCount |
Definition at line 40 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
boolean micropolisj.engine.PlayerInfo.indCap |
Definition at line 88 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.indPop |
Definition at line 39 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus(), and micropolisj.engine.Micropolis.takeCensus2().
int micropolisj.engine.PlayerInfo.indValve |
Definition at line 84 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.getIndValve().
int micropolisj.engine.PlayerInfo.indZoneCount |
Definition at line 36 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.landValueAverage |
Definition at line 79 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.generateBudget().
int micropolisj.engine.PlayerInfo.lastCityPop |
Definition at line 55 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.getCityPopulation().
int micropolisj.engine.PlayerInfo.lastFireStationCount |
Definition at line 61 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.generateBudget().
int micropolisj.engine.PlayerInfo.lastPoliceCount |
Definition at line 62 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.generateBudget().
int micropolisj.engine.PlayerInfo.lastRailTotal |
Definition at line 59 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.generateBudget().
int micropolisj.engine.PlayerInfo.lastResearchCount |
Definition at line 63 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.generateBudget().
int micropolisj.engine.PlayerInfo.lastRoadTotal |
Definition at line 58 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.generateBudget().
int micropolisj.engine.PlayerInfo.lastTotalPop |
Definition at line 60 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.generateBudget().
int micropolisj.engine.PlayerInfo.needChurch |
Definition at line 75 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
int micropolisj.engine.PlayerInfo.needHospital |
Definition at line 74 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
boolean micropolisj.engine.PlayerInfo.newPower |
Definition at line 110 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.nuclearCount |
Definition at line 46 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.policeCount |
Definition at line 42 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.policeEffect = 1000 |
Definition at line 104 of file PlayerInfo.java.
double micropolisj.engine.PlayerInfo.policePercent = 1.0 |
Definition at line 98 of file PlayerInfo.java.
Referenced by micropolisj.network.ServerMicropolis.doBudgetInput(), micropolisj.engine.Micropolis.generateBudget(), micropolisj.gui.BudgetDialog.onResetClicked(), and micropolisj.engine.Micropolis.setBudgetNumbers().
int micropolisj.engine.PlayerInfo.polluteRamp |
Definition at line 90 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
int micropolisj.engine.PlayerInfo.pollutionAverage |
Definition at line 78 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus().
int micropolisj.engine.PlayerInfo.pollutionMaxLocationX |
Definition at line 67 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.getLocationOfMaxPollution().
int micropolisj.engine.PlayerInfo.pollutionMaxLocationY |
Definition at line 68 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.getLocationOfMaxPollution().
int micropolisj.engine.PlayerInfo.poweredZoneCount |
Definition at line 29 of file PlayerInfo.java.
boolean [][] micropolisj.engine.PlayerInfo.powermap |
Definition at line 22 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.railTotal |
Definition at line 32 of file PlayerInfo.java.
boolean micropolisj.engine.PlayerInfo.resCap |
Definition at line 86 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.researchCount |
Definition at line 51 of file PlayerInfo.java.
ResearchData micropolisj.engine.PlayerInfo.researchData |
Definition at line 116 of file PlayerInfo.java.
Referenced by micropolisj.research.ResearchState.actionPerformed(), micropolisj.gui.CheatWindow.dispatchKeyEvent(), micropolisj.engine.RocketSprite.explodeSprite(), micropolisj.engine.PlayerInfo.PlayerInfo(), and micropolisj.engine.TileSpec.usePollutionResearch().
int micropolisj.engine.PlayerInfo.researchEffect = 1000 |
Definition at line 106 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.addResearchPoints().
double micropolisj.engine.PlayerInfo.researchPercent = 1.0 |
Definition at line 100 of file PlayerInfo.java.
Referenced by micropolisj.network.ServerMicropolis.doBudgetInput(), micropolisj.engine.Micropolis.generateBudget(), micropolisj.gui.BudgetDialog.onResetClicked(), and micropolisj.engine.Micropolis.setBudgetNumbers().
transient ResearchState micropolisj.engine.PlayerInfo.researchState |
Definition at line 114 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.addResearchPoints(), micropolisj.gui.CheatWindow.dispatchKeyEvent(), micropolisj.gui.MainWindow.MainWindow(), micropolisj.gui.NewCityDialog.NewCityDialog(), micropolisj.engine.PlayerInfo.PlayerInfo(), and micropolisj.engine.PlayerInfo.setResearchState().
int micropolisj.engine.PlayerInfo.resPop |
Definition at line 37 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.takeCensus(), and micropolisj.engine.Micropolis.takeCensus2().
int micropolisj.engine.PlayerInfo.resValve |
Definition at line 82 of file PlayerInfo.java.
Referenced by micropolisj.engine.Micropolis.getResValve().
int micropolisj.engine.PlayerInfo.resZoneCount |
Definition at line 34 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.roadEffect = 32 |
Definition at line 103 of file PlayerInfo.java.
double micropolisj.engine.PlayerInfo.roadPercent = 1.0 |
Definition at line 97 of file PlayerInfo.java.
Referenced by micropolisj.network.ServerMicropolis.doBudgetInput(), micropolisj.engine.Micropolis.generateBudget(), micropolisj.gui.BudgetDialog.onResetClicked(), and micropolisj.engine.Micropolis.setBudgetNumbers().
int micropolisj.engine.PlayerInfo.roadTotal |
Definition at line 31 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.seaportCount |
Definition at line 47 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.stadiumCount |
Definition at line 44 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.taxEffect = 7 |
Definition at line 102 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.tempelCount |
Definition at line 52 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.totalPop |
Definition at line 54 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.trafficAverage |
Definition at line 80 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.trafficMaxLocationX |
Definition at line 65 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.trafficMaxLocationY |
Definition at line 66 of file PlayerInfo.java.
int micropolisj.engine.PlayerInfo.unpoweredZoneCount |
Definition at line 30 of file PlayerInfo.java.