Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
micropolisj.engine.PlayerInfo Class Reference
Inheritance diagram for micropolisj.engine.PlayerInfo:
Collaboration diagram for micropolisj.engine.PlayerInfo:

Public Member Functions

 PlayerInfo (Micropolis city)
 PlayerInfo (ResearchState researchState, CityEval cityEval, CityBudget budget)
void setResearchState (ResearchState state)

Public Attributes

int countdown
boolean[][] powermap
CityBudget budget
boolean autoBulldoze = true
boolean autoBudget = false
int poweredZoneCount
int unpoweredZoneCount
int roadTotal
int railTotal
int firePop
int resZoneCount
int comZoneCount
int indZoneCount
int resPop
int comPop
int indPop
int hospitalCount
int churchCount
int policeCount
int fireStationCount
int stadiumCount
int coalCount
int nuclearCount
int seaportCount
int airportCount
int researchCount
int tempelCount
int totalPop
int lastCityPop
int lastRoadTotal
int lastRailTotal
int lastTotalPop
int lastFireStationCount
int lastPoliceCount
int lastResearchCount
int trafficMaxLocationX
int trafficMaxLocationY
int pollutionMaxLocationX
int pollutionMaxLocationY
int crimeMaxLocationX
int crimeMaxLocationY
int centerMassX
int centerMassY
int needHospital
int needChurch
int crimeAverage
int pollutionAverage
int landValueAverage
int trafficAverage
int resValve
int comValve
int indValve
boolean resCap
boolean comCap
boolean indCap
int crimeRamp
int polluteRamp
int cityTax = 7
double roadPercent = 1.0
double policePercent = 1.0
double firePercent = 1.0
double researchPercent = 1.0
int taxEffect = 7
int roadEffect = 32
int policeEffect = 1000
int fireEffect = 1000
int researchEffect = 1000
int cashFlow
boolean newPower
transient ResearchState researchState
ResearchData researchData
CityEval evaluation

Detailed Description

holds all infos about one player on the map

Author
nikolaibobenko

Definition at line 15 of file PlayerInfo.java.

Constructor & Destructor Documentation

micropolisj.engine.PlayerInfo.PlayerInfo ( Micropolis  city)

Definition at line 120 of file PlayerInfo.java.

Member Function Documentation

void micropolisj.engine.PlayerInfo.setResearchState ( ResearchState  state)

Member Data Documentation

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.

int micropolisj.engine.PlayerInfo.cashFlow

Definition at line 108 of file PlayerInfo.java.

Referenced by micropolisj.engine.Micropolis.takeCensus().

int micropolisj.engine.PlayerInfo.centerMassX
int micropolisj.engine.PlayerInfo.centerMassY
int micropolisj.engine.PlayerInfo.churchCount

Definition at line 41 of file PlayerInfo.java.

Referenced by micropolisj.engine.Micropolis.takeCensus().

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
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
int micropolisj.engine.PlayerInfo.fireEffect = 1000

Definition at line 105 of file PlayerInfo.java.

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
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.

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
int micropolisj.engine.PlayerInfo.pollutionMaxLocationY
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.

int micropolisj.engine.PlayerInfo.researchEffect = 1000

Definition at line 106 of file PlayerInfo.java.

Referenced by micropolisj.engine.Micropolis.addResearchPoints().

int micropolisj.engine.PlayerInfo.resPop
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.

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.


The documentation for this class was generated from the following file: