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

Public Member Functions

int getPoliceResearchState ()
double getPoliceStationRange ()
int getFiremanResearchState ()
double getFireStationRange ()
int getEnvironmentResearchState ()
int getRocketResearchState ()
void setToolBtns (Map< MicropolisTool, JToggleButton > toolBtns)
ResearchData getResearchData ()
 ResearchState (Micropolis city)
 ResearchState (Micropolis engine, ResearchTree tree)
void showResearchPanel ()
void refreshPanel ()
void actionPerformed (ActionEvent ev)

Static Public Member Functions

static ResearchState createFromResearchData (Micropolis engine, ResearchData data, Map< MicropolisTool, JToggleButton > toolBtns)

Public Attributes

int policeResearch = 0
int firemanResearch = 0
int environmentResearch = 0
int rocketResearch = 0
ResearchTree tree
int researchPoints = 0
Map< MicropolisTool,
JToggleButton > 
toolBtns

Private Attributes

Micropolis city

Static Private Attributes

static final long serialVersionUID = 1L
static ResearchState instance = null

Detailed Description

Definition at line 27 of file ResearchState.java.

Constructor & Destructor Documentation

micropolisj.research.ResearchState.ResearchState ( Micropolis  city)

Member Function Documentation

int micropolisj.research.ResearchState.getEnvironmentResearchState ( )
int micropolisj.research.ResearchState.getFiremanResearchState ( )
double micropolisj.research.ResearchState.getFireStationRange ( )
int micropolisj.research.ResearchState.getPoliceResearchState ( )
double micropolisj.research.ResearchState.getPoliceStationRange ( )
int micropolisj.research.ResearchState.getRocketResearchState ( )
void micropolisj.research.ResearchState.setToolBtns ( Map< MicropolisTool, JToggleButton >  toolBtns)
void micropolisj.research.ResearchState.showResearchPanel ( )

Definition at line 256 of file ResearchState.java.

References micropolisj.research.ResearchState.refreshPanel().

Here is the call graph for this function:

Member Data Documentation

Micropolis micropolisj.research.ResearchState.city
private
ResearchState micropolisj.research.ResearchState.instance = null
staticprivate

Definition at line 92 of file ResearchState.java.

final long micropolisj.research.ResearchState.serialVersionUID = 1L
staticprivate

Definition at line 28 of file ResearchState.java.

Map<MicropolisTool, JToggleButton> micropolisj.research.ResearchState.toolBtns
ResearchTree micropolisj.research.ResearchState.tree

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