A B C D E F G H I L M N O P Q R S T U V W X Y

A

ACTIVATE_NATION - Static variable in interface civquest.gameChange.NationChange
This constant marks the fact that this NationChange activates some Nation.
ADD_CITY - Static variable in interface civquest.gameChange.CityChange
 
ADD_NATION - Static variable in interface civquest.gameChange.NationChange
This constant marks the fact that a NationChange adds a nation.
ADD_PLAYER - Static variable in interface civquest.gameChange.PlayerChange
This constant marks the fact that a PlayerChange adds a player.
ADD_UNIT - Static variable in interface civquest.gameChange.UnitChange
Indicates that this UnitChange constructs and adds a unit.
AMP - Static variable in class civquest.parser.Token
 
ARISTOCRACY - Static variable in class civquest.Government
 
AbstractCityFieldNationChange - class civquest.gameChange.AbstractCityFieldNationChange.
 
AbstractCityFieldNationChange(Coordinate, int, int) - Constructor for class civquest.gameChange.AbstractCityFieldNationChange
 
AbstractCityFieldNationChange(Coordinate[], int[], int[]) - Constructor for class civquest.gameChange.AbstractCityFieldNationChange
 
AbstractFieldChange - class civquest.gameChange.AbstractFieldChange.
 
AbstractFieldChange(Coordinate) - Constructor for class civquest.gameChange.AbstractFieldChange
 
AbstractFieldChange(Coordinate[]) - Constructor for class civquest.gameChange.AbstractFieldChange
 
AbstractFieldCityChange - class civquest.gameChange.AbstractFieldCityChange.
AbstractFieldUnitChange.java
AbstractFieldCityChange() - Constructor for class civquest.gameChange.AbstractFieldCityChange
 
AbstractFieldCityChange(Coordinate, int) - Constructor for class civquest.gameChange.AbstractFieldCityChange
 
AbstractFieldCityChange(Coordinate[], int[]) - Constructor for class civquest.gameChange.AbstractFieldCityChange
 
AbstractFieldCityPlayerChange - class civquest.gameChange.AbstractFieldCityPlayerChange.
 
AbstractFieldCityPlayerChange(Coordinate, int, int) - Constructor for class civquest.gameChange.AbstractFieldCityPlayerChange
 
AbstractFieldCityPlayerChange(Coordinate[], int[], int[]) - Constructor for class civquest.gameChange.AbstractFieldCityPlayerChange
 
AbstractFieldNationUnitChange - class civquest.gameChange.AbstractFieldNationUnitChange.
 
AbstractFieldNationUnitChange(Coordinate, long, int) - Constructor for class civquest.gameChange.AbstractFieldNationUnitChange
 
AbstractFieldNationUnitChange(Coordinate[], long[], int[]) - Constructor for class civquest.gameChange.AbstractFieldNationUnitChange
 
AbstractFieldUnitChange - class civquest.gameChange.AbstractFieldUnitChange.
AbstractFieldUnitChange.java
AbstractFieldUnitChange() - Constructor for class civquest.gameChange.AbstractFieldUnitChange
 
AbstractFieldUnitChange(Coordinate, long) - Constructor for class civquest.gameChange.AbstractFieldUnitChange
 
AbstractFieldUnitChange(Coordinate[], long[]) - Constructor for class civquest.gameChange.AbstractFieldUnitChange
 
AbstractFieldUnitPlayerChange - class civquest.gameChange.AbstractFieldUnitPlayerChange.
 
AbstractFieldUnitPlayerChange(Coordinate, long, int) - Constructor for class civquest.gameChange.AbstractFieldUnitPlayerChange
 
AbstractFieldUnitPlayerChange(Coordinate[], long[], int[]) - Constructor for class civquest.gameChange.AbstractFieldUnitPlayerChange
 
AbstractGUIChange - class civquest.gameChange.AbstractGUIChange.
AbstractGUIChange.java
AbstractGUIChange(int) - Constructor for class civquest.gameChange.AbstractGUIChange
 
AbstractGUIChange(int[]) - Constructor for class civquest.gameChange.AbstractGUIChange
 
AbstractNationChange - class civquest.gameChange.AbstractNationChange.
 
AbstractNationChange(int) - Constructor for class civquest.gameChange.AbstractNationChange
 
AbstractNationChange(int[]) - Constructor for class civquest.gameChange.AbstractNationChange
 
AbstractUnitChange - class civquest.gameChange.AbstractUnitChange.
 
AbstractUnitChange(long) - Constructor for class civquest.gameChange.AbstractUnitChange
 
AbstractUnitChange(long[]) - Constructor for class civquest.gameChange.AbstractUnitChange
 
ActivateNation - class civquest.nation.gameChange.ActivateNation.
Activates a new Nation.
ActivateNation(int) - Constructor for class civquest.nation.gameChange.ActivateNation
 
actionPerformed(ActionEvent) - Method in class civquest.swing.civquestActions.QuitAction
 
actionPerformed(ActionEvent) - Method in class civquest.swing.quadmap.genericActions.ConstructTestCityAction
 
actionPerformed(ActionEvent) - Method in class civquest.swing.quadmap.genericActions.ConstructTestUnit
 
actionPerformed(ActionEvent) - Method in class civquest.swing.quadmap.genericActions.MarkSingleUnitAction
 
actionPerformed(ActionEvent) - Method in class civquest.swing.quadmap.genericActions.MoveUnitsToWFAction
 
actionPerformed(ActionEvent) - Method in class civquest.swing.quadmap.genericActions.SetWorkingFieldAction
 
actionPerformed(ActionEvent) - Method in class civquest.swing.quadmap.genericActions.UnmarkAllUnitsAction
 
activate() - Method in class civquest.swing.quadmap.FlatUnitView
 
activate() - Method in class civquest.swing.quadmap.IsoUnitView
 
add(Coordinate) - Method in class civquest.util.Coordinate
Returns a new Coordinate-object with coordinates (x+oc.x,y+oc.y)
add(int, int) - Method in class civquest.util.Coordinate
Returns a new Coordinate-object with coordinates (x+xv,y+yv)
add(Coordinate) - Method in class civquest.util.Rectangle
 
add(int, int) - Method in class civquest.util.Rectangle
 
addBuilding(Building) - Method in class civquest.city.City
 
addCity(City, Field, Nation) - Method in class civquest.MapData
Adds a city.
addCity(City) - Method in class civquest.nation.Nation
 
addCityChangeListener(CityChangeListener) - Method in class civquest.gameChange.CityChangeListenerManager
 
addDependency(String) - Method in class civquest.Science
 
addField(Field) - Method in class civquest.parser.ruleset.Section
 
addFieldChangeListener(FieldChangeListener) - Method in class civquest.gameChange.FieldChangeListenerManager
 
addGUIChangeListener(GUIChangeListener) - Method in class civquest.gameChange.GUIChangeListenerManager
 
addListener(FieldChangeListener) - Method in class civquest.gameChange.FieldChangeManager
 
addMapChangeListener(MapChangeListener) - Method in class civquest.MapData
 
addNation(Nation) - Method in class civquest.Game
 
addNation(Nation) - Method in class civquest.Player
 
addNationChangeListener(NationChangeListener) - Method in class civquest.gameChange.NationChangeListenerManager
 
addPlayer(Player) - Method in class civquest.Game
 
addPlayerChangeListener(PlayerChangeListener) - Method in class civquest.gameChange.PlayerChangeListenerManager
 
addSection(Section) - Method in class civquest.parser.ruleset.Ruleset
 
addStepToBeginning(Field, int, int, int, boolean) - Method in class civquest.units.PossibleMovePath
Add a step with the given properties to the beginning of the step-list.
addStepToEnd(Field, int, int, int, boolean) - Method in class civquest.units.PossibleMovePath
Add a step with the given properties to the end of the step-list.
addUnit(Unit) - Method in class civquest.Field
 
addUnit(Unit, Field, Nation) - Method in class civquest.MapData
Adds a unit.
addUnit(Unit) - Method in class civquest.city.City
 
addUnit(Unit) - Method in class civquest.nation.Nation
 
addUnitChangeListener(UnitChangeListener) - Method in class civquest.gameChange.UnitChangeListenerManager
 
addValue(Object) - Method in class civquest.parser.ruleset.Field
 
addWaterFlow(int) - Method in class civquest.Field
 
addWaterFlowFrom(Field) - Method in class civquest.Field
Saves that water from Field from flows into this field.
adjustArrayCoordToScrolling(Coordinate) - Method in class civquest.swing.quadmap.Properties
Adjusts the given array-coordinate to the scrolling; this means that coordinates east/west of the east/west map-edge are converted to the corresponding coordinate on the map.
adjustArrayCoordToScrolling(int, int) - Method in class civquest.swing.quadmap.Properties
 
adjustLuxury(int) - Method in class civquest.nation.Nation
 
adjustScience(int) - Method in class civquest.nation.Nation
 
adjustSciencePoints(int) - Method in class civquest.nation.Nation
 
adjustTax(int) - Method in class civquest.nation.Nation
 
adjustToMapSize(Coordinate) - Method in class civquest.FlatMapData
 
adjustToMapSize(Coordinate) - Method in class civquest.IsoMapData
 
adjustToMapSize(Coordinate) - Method in class civquest.MapData
Adjusts the given coordinate to mapsize.
adjustToMapSize(int, int) - Method in class civquest.MapData
 
adjustTreasury(int) - Method in class civquest.nation.Nation
 
adjustsToLand(Coordinate) - Method in class civquest.MapData
 
adjustsToSea(Coordinate) - Method in class civquest.MapData
Returns if the field specified by coord adjusts to sea (in directions N, NE, E, ..., NW)
areIncompleteMovesAllowed() - Method in class civquest.MapData
 
areNeighborCoords(Coordinate, Coordinate) - Method in class civquest.FlatMapData
Returns if the two given Coordinates are neighbor-Coordinates
areNeighborCoords(Coordinate, Coordinate) - Method in class civquest.IsoMapData
Returns if the two given Coordinates are neighbor-Coordinates
areNeighborCoords(Coordinate, Coordinate) - Method in class civquest.MapData
Returns if the two given Coordinates are neighbor-Coordinates.
assignPlayerToNation(Player, Nation) - Method in class civquest.Game
 

B

BAR - Static variable in class civquest.parser.Token
 
BUTTON1_PRESSED - Static variable in class civquest.Const
 
BUTTON1_RELEASED - Static variable in class civquest.Const
 
BUTTON2_PRESSED - Static variable in class civquest.Const
 
BUTTON2_RELEASED - Static variable in class civquest.Const
 
BUTTON3_PRESSED - Static variable in class civquest.Const
 
BUTTON3_RELEASED - Static variable in class civquest.Const
 
BasicFieldView - class civquest.swing.fieldview.BasicFieldView.
A basic FieldView.
BasicFieldView(Field, FieldViewManager) - Constructor for class civquest.swing.fieldview.BasicFieldView
 
Buffer - class civquest.swing.quadmap.Buffer.
 
Buffer(int, int, int, int, Properties) - Constructor for class civquest.swing.quadmap.Buffer
 
Building - interface civquest.city.Building.
Subclass this per type of building/structure.
bands - Variable in class civquest.ClimateGenerator
 
bind(String, int) - Method in class civquest.parser.condition.ComplexConditionParser
 
bind(String, int) - Method in class civquest.parser.condition.ConditionParser
Binds a value to a variable name.
bind(String, int) - Method in class civquest.parser.condition.SimpleConditionParser
 

C

COMMA - Static variable in class civquest.parser.Token
 
City - class civquest.city.City.
 
City(String, String) - Constructor for class civquest.city.City
 
CityChange - interface civquest.gameChange.CityChange.
A GameChange that deals with one or (possibly) more cities.
CityChangeListener - interface civquest.gameChange.CityChangeListener.
 
CityChangeListenerManager - class civquest.gameChange.CityChangeListenerManager.
 
CityChangeListenerManager() - Constructor for class civquest.gameChange.CityChangeListenerManager
 
ClimateGenerator - class civquest.ClimateGenerator.
 
ClimateGenerator(int, Registry) - Constructor for class civquest.ClimateGenerator
 
ComplexConditionParser - class civquest.parser.condition.ComplexConditionParser.
A ComplexConditionParser can parse condition expressions with an arbitrary number of variables.
ComplexConditionParser(String) - Constructor for class civquest.parser.condition.ComplexConditionParser
 
CompositeFieldView - class civquest.swing.fieldview.CompositeFieldView.
A FieldView that works by using some other FieldViews.
CompositeFieldView(Field, FieldViewManager) - Constructor for class civquest.swing.fieldview.CompositeFieldView
 
ConditionParser - class civquest.parser.condition.ConditionParser.
A ConditionParser is capable of processing one-line boolean expressions in its own Java-like language, and evaluating their truth values.
ConditionParser(String) - Constructor for class civquest.parser.condition.ConditionParser
Creates a parser for the given expression, for which a parse-tree is immediately constructed.
Const - class civquest.Const.
This class contains some CivQuest-wide used constants.
Const() - Constructor for class civquest.Const
 
ConstructCity - class civquest.city.gameChange.ConstructCity.
This GameChange constructs a new City and places it on a given map-Field.
ConstructCity(Coordinate, int) - Constructor for class civquest.city.gameChange.ConstructCity
 
ConstructTestCityAction - class civquest.swing.quadmap.genericActions.ConstructTestCityAction.
 
ConstructTestCityAction(QuadMap) - Constructor for class civquest.swing.quadmap.genericActions.ConstructTestCityAction
 
ConstructTestUnit - class civquest.swing.quadmap.genericActions.ConstructTestUnit.
ConstructTestUnit.java
ConstructTestUnit(QuadMap) - Constructor for class civquest.swing.quadmap.genericActions.ConstructTestUnit
 
ConstructUnit - class civquest.units.gameChange.ConstructUnit.
This GameChange constructs a new Unit and adds it to MapData.
ConstructUnit(String, Coordinate, int) - Constructor for class civquest.units.gameChange.ConstructUnit
 
Coordinate - class civquest.util.Coordinate.
This class represents one coordinate (x,y) in 2d-space.
Coordinate() - Constructor for class civquest.util.Coordinate
Constructs a new Coordinate with values (0,0)
Coordinate(Point2D) - Constructor for class civquest.util.Coordinate
 
Coordinate(Dimension2D) - Constructor for class civquest.util.Coordinate
 
Coordinate(int, int) - Constructor for class civquest.util.Coordinate
Constructs a new Coordinate with values (nx,ny)
Coordinate(double, double) - Constructor for class civquest.util.Coordinate
 
CoordinateSystem - class civquest.CoordinateSystem.
 
CoordinateSystem() - Constructor for class civquest.CoordinateSystem
 
calculateDistanceFromCoast() - Method in class civquest.MapData
 
calculateDistanceFromSea() - Method in class civquest.MapData
Calculates for all Fields on the map how far they are away from sea.
calculateMovePaths(Collection, Field) - Method in class civquest.units.MoveCalculator
Calculates MovePaths for all unit-groups in the given Collection.
calculateOneMovePath(Collection, Field) - Method in class civquest.units.DijkstraMoveCalculator
Calculates a MovePath for a move of the given unit-group from its current position to Field .
calculateOneMovePath(Collection, Field) - Method in class civquest.units.MoveCalculator
Calculates a MovePath for a move of the given unit-group from its current position to Field .
cityChanged(CityChange) - Method in interface civquest.gameChange.CityChangeListener
 
cityIDs - Variable in class civquest.gameChange.AbstractCityFieldNationChange
 
cityIDs - Variable in class civquest.gameChange.AbstractFieldCityChange
 
cityIDs - Variable in class civquest.gameChange.AbstractFieldCityPlayerChange
 
civquest - package civquest
 
civquest.city - package civquest.city
 
civquest.city.gameChange - package civquest.city.gameChange
 
civquest.gameChange - package civquest.gameChange
 
civquest.map - package civquest.map
 
civquest.nation - package civquest.nation
 
civquest.nation.gameChange - package civquest.nation.gameChange
 
civquest.parser - package civquest.parser
 
civquest.parser.condition - package civquest.parser.condition
 
civquest.parser.ruleset - package civquest.parser.ruleset
 
civquest.swing.civquestActions - package civquest.swing.civquestActions
 
civquest.swing.fieldview - package civquest.swing.fieldview
 
civquest.swing.gameChange - package civquest.swing.gameChange
 
civquest.swing.quadmap - package civquest.swing.quadmap
 
civquest.swing.quadmap.fieldview - package civquest.swing.quadmap.fieldview
 
civquest.swing.quadmap.genericActions - package civquest.swing.quadmap.genericActions
 
civquest.swing.quadmap.wfpainter - package civquest.swing.quadmap.wfpainter
 
civquest.swing.scidep - package civquest.swing.scidep
 
civquest.units - package civquest.units
 
civquest.units.gameChange - package civquest.units.gameChange
 
civquest.units.unitpartmodels - package civquest.units.unitpartmodels
 
civquest.units.unitparts - package civquest.units.unitparts
 
civquest.util - package civquest.util
 
civquest.util.swing - package civquest.util.swing
 
climate - Variable in class civquest.TestClimateGenerator
 
clone() - Method in class civquest.parser.ruleset.Field
 
clone() - Method in class civquest.parser.ruleset.Section
 
clone() - Method in class civquest.util.Coordinate
Returns a new Coordinate-object with the same coordinate-values as this one.
coSystem - Variable in class civquest.MapGenerator
 
col - Variable in class civquest.parser.Tokenizer
 
compare(Object, Object) - Method in class civquest.units.DijkstraMoveCalculator.FieldInfoComparator
 
condition - Variable in class civquest.VegetationData
 
constructGame(Registry) - Static method in class civquest.Game
 
constructUnit() - Method in class civquest.units.UnitModel
 
constructUnitGroups(List) - Static method in class civquest.units.MoveCalculator
Constructs unit-groups for the given units (see MoveCalculator.calculateMovePaths(java.util.Collection, civquest.Field)).
constructUnitPainter(QuadMap) - Method in class civquest.swing.quadmap.Properties
Returns an UnitPainter appropriate for this type of map.
constructUnitPart() - Method in class civquest.units.UnitPartModel
 
constructUnitPart() - Method in class civquest.units.unitpartmodels.HumanEngineModel
 
constructUnitView(Unit) - Method in class civquest.swing.quadmap.Properties
Constructs a UnitView for the given Unit.
contains(Coordinate) - Method in class civquest.util.Rectangle
Returns if this Rectangle contains the given Coordinate c.
continentalFactor - Variable in class civquest.TestClimateGenerator
 
coords - Variable in class civquest.gameChange.AbstractCityFieldNationChange
 
coords - Variable in class civquest.gameChange.AbstractFieldChange
 
coords - Variable in class civquest.gameChange.AbstractFieldCityChange
 
coords - Variable in class civquest.gameChange.AbstractFieldCityPlayerChange
 
coords - Variable in class civquest.gameChange.AbstractFieldNationUnitChange
 
coords - Variable in class civquest.gameChange.AbstractFieldUnitChange
 
coords - Variable in class civquest.gameChange.AbstractFieldUnitPlayerChange
 
curLine - Variable in class civquest.parser.Tokenizer
 
current - Variable in class civquest.parser.condition.ConditionParser
 

D

DEMOCRACY - Static variable in class civquest.Government
 
DESPOTISM - Static variable in class civquest.Government
 
DICTATORSHIP - Static variable in class civquest.Government
 
DijkstraMoveCalculator - class civquest.units.DijkstraMoveCalculator.
 
DijkstraMoveCalculator(Registry) - Constructor for class civquest.units.DijkstraMoveCalculator
 
DijkstraMoveCalculator.FieldInfoComparator - class civquest.units.DijkstraMoveCalculator.FieldInfoComparator.
Comparator for comparing two FieldInfo-objects (needed for the heap used within the dijkstra-algorithm).
DijkstraMoveCalculator.FieldInfoComparator() - Constructor for class civquest.units.DijkstraMoveCalculator.FieldInfoComparator
 
Direction - class civquest.Direction.
Provides direction-constants.
Direction() - Constructor for class civquest.Direction
 
data() - Method in class civquest.parser.Token
 
deactivate() - Method in class civquest.swing.quadmap.FlatUnitView
 
deactivate() - Method in class civquest.swing.quadmap.IsoUnitView
 
deleteImage() - Method in class civquest.swing.quadmap.Buffer
 
description - Variable in class civquest.VegetationData
 
destroyGame() - Static method in class civquest.Game
 
directory - Variable in class civquest.VegetationData
 
distanceFromHeightLevel(int, Coordinate, int, int) - Method in class civquest.MapData
Gets distance from the current tile to (and included) the tile the meets the requested heightlevel.
drawDashedLine(Coordinate, Coordinate, Graphics, int) - Method in class civquest.swing.quadmap.Painter
Draws a line from c1 to c2 using the given Graphics g.
drawFullCircle(Graphics, Coordinate, int, boolean) - Method in class civquest.swing.quadmap.Painter
 
drawGeoPrimitive(Graphics, GeoPrimitive) - Method in class civquest.swing.quadmap.Painter
 
drawGestrichelteLine(Graphics, int, int, int, int, int) - Static method in class civquest.util.Painting
 
drawGestrichelteLine(Graphics, Coordinate, Coordinate, int) - Static method in class civquest.util.Painting
 
drawLine(Coordinate, Coordinate, Graphics) - Method in class civquest.swing.quadmap.Painter
Draws a line from c1 to c2 using the given Graphics g.
drawShortestLine(Coordinate, Coordinate, Graphics) - Method in class civquest.swing.quadmap.Painter
Wrapper-function for drawing a non-dashed line using drawShortestLine.
drawShortestLine(Coordinate, Coordinate, Graphics, boolean, int) - Method in class civquest.swing.quadmap.Painter
Draws a line from c1 to c2 using the given Graphics g.
dump() - Method in class civquest.MapData.Configuration
 
dump() - Method in class civquest.units.UnitPartModel
 
dump() - Method in class civquest.units.unitpartmodels.HumanEngineModel
 
dumpEdges() - Method in class civquest.PlateHeightGenerator
 
dumpMapData() - Method in class civquest.PlateHeightGenerator
 
dumpPlates() - Method in class civquest.PlateHeightGenerator
 

E

EAST - Static variable in class civquest.Direction
 
EOF - Static variable in class civquest.parser.Token
 
EQ - Static variable in class civquest.parser.Token
 
EQUAL_TO - Static variable in class civquest.MapData
 
Engine - interface civquest.units.Engine.
An Engine makes units move.
env - Variable in class civquest.parser.condition.ComplexConditionParser
 
eof - Variable in class civquest.parser.Tokenizer
 
eol() - Method in class civquest.parser.Tokenizer
 
eqTemp - Variable in class civquest.ClimateGenerator
 
equals(int, int) - Method in class civquest.util.Coordinate
Returns if this Coordinate has values (ox,oy)
equals(Coordinate) - Method in class civquest.util.Coordinate
Returns if this Coordinate has the same values as Coordinate c
err - Variable in class civquest.parser.condition.ConditionParser
 
error(String) - Method in class civquest.parser.condition.ConditionParser
 
eval() - Method in class civquest.parser.condition.ConditionParser
Evaluates the expression according to the most recently bound values for variables.
eventIDs - Variable in class civquest.gameChange.AbstractGUIChange
 
execute() - Method in class civquest.city.gameChange.ConstructCity
 
execute() - Method in interface civquest.gameChange.GameChange
 
execute() - Method in class civquest.nation.gameChange.ActivateNation
 
execute() - Method in class civquest.swing.gameChange.MarkUnit
 
execute() - Method in class civquest.swing.gameChange.SetWorkingField
 
execute() - Method in class civquest.swing.gameChange.ToggleUnitBlinkOn
 
execute() - Method in class civquest.swing.gameChange.UnmarkAllUnits
 
execute() - Method in class civquest.swing.gameChange.UnmarkUnit
 
execute() - Method in class civquest.units.gameChange.ConstructUnit
 
execute() - Method in class civquest.units.gameChange.MoveUnit
 
execute() - Method in class civquest.units.gameChange.ResetUnitTime
 
expr - Variable in class civquest.parser.condition.ConditionParser
 
extractClassName(String) - Static method in class civquest.gameChange.GameChangeManager
 

F

FASCISM - Static variable in class civquest.Government
 
FEUDALISM - Static variable in class civquest.Government
 
FLAT - Static variable in class civquest.Const
Marks map-type "flat"
FLAT - Static variable in class civquest.MapGenerator
 
FLAT - Static variable in class civquest.TestClimateGenerator
 
FibonacciHeap - class civquest.util.FibonacciHeap.
Implements a fibonacci-heap.
FibonacciHeap(Comparator) - Constructor for class civquest.util.FibonacciHeap
Constructs a FibonacciHeap
Field - class civquest.Field.
This class represents one field on the map.
Field(int, int) - Constructor for class civquest.Field
Constructs a new Field with coordinates (x,y)
Field(int, int, int) - Constructor for class civquest.Field
Constructs a new Field with coordinates (x,y) and given height-level.
Field - class civquest.parser.ruleset.Field.
A Field, contained within a Section, is a (name,value) pair.
Field(String) - Constructor for class civquest.parser.ruleset.Field
 
Field(String, Object) - Constructor for class civquest.parser.ruleset.Field
 
FieldChange - interface civquest.gameChange.FieldChange.
GameChange that alters a Field in some way.
FieldChangeListener - interface civquest.gameChange.FieldChangeListener.
 
FieldChangeListenerManager - class civquest.gameChange.FieldChangeListenerManager.
 
FieldChangeListenerManager() - Constructor for class civquest.gameChange.FieldChangeListenerManager
 
FieldChangeManager - class civquest.gameChange.FieldChangeManager.
 
FieldChangeManager() - Constructor for class civquest.gameChange.FieldChangeManager
 
FieldDistanceInfo - class civquest.map.FieldDistanceInfo.
Helper-class for returning the information "Field" linked with some distance.
FieldDistanceInfo(Field, int) - Constructor for class civquest.map.FieldDistanceInfo
 
FieldView - interface civquest.swing.fieldview.FieldView.
Top of the FieldView-hierarchy.
FieldViewManager - interface civquest.swing.fieldview.FieldViewManager.
A FieldViewManager is a object which controls some other - child - FieldViews.
FlatCoSystem - class civquest.FlatCoSystem.
Coordinate system for a "flat" map, meaning a map with cells laid out in a 2d matrix.
FlatCoSystem() - Constructor for class civquest.FlatCoSystem
 
FlatMapData - class civquest.FlatMapData.
 
FlatMapData(int, int, boolean, int, Registry) - Constructor for class civquest.FlatMapData
 
FlatSingleUnitPainter - class civquest.swing.quadmap.FlatSingleUnitPainter.
 
FlatSingleUnitPainter(QuadMap) - Constructor for class civquest.swing.quadmap.FlatSingleUnitPainter
 
FlatUnitView - class civquest.swing.quadmap.FlatUnitView.
 
FlatUnitView(Image, Unit, QuadMap, Ruleset) - Constructor for class civquest.swing.quadmap.FlatUnitView
 
field - Variable in class civquest.map.MapObject
 
field - Variable in class civquest.swing.fieldview.BasicFieldView
 
field - Variable in class civquest.swing.fieldview.CompositeFieldView
Field this LayeredFieldView is assigned to
fieldChanged(Field) - Method in interface civquest.MapChangeListener
 
fieldChanged(FieldChange) - Method in interface civquest.gameChange.FieldChangeListener
 
fieldChanged(FieldChange) - Method in class civquest.swing.quadmap.QuadMap
 
fieldClicked(Field) - Method in class civquest.swing.quadmap.QuadMap
 
fields - Variable in class civquest.MapData
Each object of this array stores that data for one field on the map.
findHeightLevel(String) - Method in class civquest.VegetationData
 
findHeightLevel(int) - Method in class civquest.VegetationData
 
flatearth - Variable in class civquest.MapGenerator
 

G

GAMECHANGE_PACKAGE - Static variable in class civquest.Const
 
GEMUnitMover - class civquest.units.GEMUnitMover.
GEMUnitMover.java
GEMUnitMover() - Constructor for class civquest.units.GEMUnitMover
 
GEMUnitMover(MoveCalculator) - Constructor for class civquest.units.GEMUnitMover
 
GREATER_THAN - Static variable in class civquest.MapData
 
GT - Static variable in class civquest.parser.Token
 
GUIChange - interface civquest.gameChange.GUIChange.
GUIChanges execute changes that affect only the GUI.
GUIChangeListener - interface civquest.gameChange.GUIChangeListener.
 
GUIChangeListenerManager - class civquest.gameChange.GUIChangeListenerManager.
 
GUIChangeListenerManager() - Constructor for class civquest.gameChange.GUIChangeListenerManager
 
Game - class civquest.Game.
 
GameChange - interface civquest.gameChange.GameChange.
Top of the GameChange-hierarchy.
GameChangeListener - interface civquest.gameChange.GameChangeListener.
Empty interface.
GameChangeManager - class civquest.gameChange.GameChangeManager.
Keeps track of all GameChanges.
GameChangeManager(Registry) - Constructor for class civquest.gameChange.GameChangeManager
Constructs a new GameChangeManager.
Government - class civquest.Government.
 
Government() - Constructor for class civquest.Government
 
Granary - class civquest.city.Granary.
 
Granary() - Constructor for class civquest.city.Granary
 
generate(MapData) - Method in class civquest.ClimateGenerator
 
generate(MapData) - Method in interface civquest.HeightGenerator
Generates height-levels for the whole map.
generate(MapData) - Method in class civquest.MWFCRiverGenerator
This function generates waterflow and waterflowdirections for the whole map.
generate() - Method in class civquest.MapGenerator
 
generate() - Method in class civquest.MapLoader
 
generate(MapData) - Method in class civquest.PlateHeightGenerator
 
generate(MapData) - Method in class civquest.RandomHeightGenerator
 
generate(MapData) - Method in interface civquest.RiverGenerator
 
generate(MapData) - Method in class civquest.TestClimateGenerator
 
generate(MapData) - Method in interface civquest.VegetationGenerator
 
generateBorders() - Method in class civquest.MapGenerator
Generates borders for all map generators.
get(String, String) - Method in class civquest.parser.ruleset.Table
 
getAbsFieldEdgeCoords(Coordinate) - Method in class civquest.swing.quadmap.Properties
Returns an array containing the (abs.
getAbsFieldEdgeCoords(Field) - Method in class civquest.swing.quadmap.Properties
 
getAbsImagePaintCoord(Coordinate) - Method in class civquest.swing.quadmap.Properties
Returns the (absolute paint-)coordinate that must be used in order to paint an image for this field.
getAbsImagePaintRectangle(Coordinate) - Method in class civquest.swing.quadmap.Properties
Returns the smallest rectangle containing the complete image used for drawing the field at the given array-coordinate.
getAbsImagePaintRectangle(Field) - Method in class civquest.swing.quadmap.Properties
 
getAbsMiddlePaintCoord(Coordinate) - Method in class civquest.swing.quadmap.Properties
Returns the "middle"-absolute-paintcoord of Field field.
getAbsPaintCoord(Coordinate) - Method in class civquest.swing.quadmap.Properties
Returns the drawing-buffer-coordinate of Field (array- x,y) (as an absolute paint-coordinate).
getAbsRectFieldIterator(Coordinate, Coordinate) - Method in class civquest.swing.quadmap.Properties
Returns an iterator that iterates through all Fields located within the specified rectangle, where the coords are given as absolute-paint-coords.
getAbsRectFieldIterator(Buffer) - Method in class civquest.swing.quadmap.Properties
 
getAction(String) - Method in class civquest.swing.quadmap.QuadMap
 
getActiveNation() - Method in class civquest.Game
 
getAllFields() - Method in class civquest.parser.ruleset.Section
 
getAllListeners() - Method in class civquest.gameChange.FieldChangeManager
 
getAllRulesets() - Method in class civquest.parser.ruleset.Registry
 
getAllSections() - Method in class civquest.parser.ruleset.Ruleset
 
getAllSteps() - Method in class civquest.units.PossibleMovePath
Returns a List with all steps of this move-path.
getAllUnits() - Method in class civquest.Field
 
getAllUnits() - Method in class civquest.nation.Nation
 
getAreaCoord(Rectangle, Coordinate) - Method in class civquest.FlatMapData
 
getAreaCoord(Rectangle, Coordinate) - Method in class civquest.IsoMapData
 
getAreaCoord(Rectangle, Coordinate) - Method in class civquest.MapData
Translates the given Coordinate (by map-sizes) to be in the specified rectangle.
getArrayHeight() - Method in class civquest.FlatMapData
 
getArrayHeight() - Method in class civquest.IsoMapData
 
getArrayHeight() - Method in class civquest.MapData
Returns the height of the internal array that stores the Fields.
getArrayWidth() - Method in class civquest.FlatMapData
 
getArrayWidth() - Method in class civquest.IsoMapData
 
getArrayWidth() - Method in class civquest.MapData
Returns the width of the internal array that stores the Fields.
getAvailableProductions() - Method in class civquest.city.City
 
getBaseURL() - Static method in class civquest.Util
Attempts to determine the base resource URL
getBinding(String) - Method in class civquest.parser.condition.ComplexConditionParser
 
getBinding(String) - Method in class civquest.parser.condition.ConditionParser
Gets the value for a bound variable.
getBinding(String) - Method in class civquest.parser.condition.SimpleConditionParser
 
getBoolValue() - Method in class civquest.parser.ruleset.Field
 
getBoolValue(int) - Method in class civquest.parser.ruleset.Field
 
getBottomLeftCorner() - Method in class civquest.util.Rectangle
 
getBottomRightCorner() - Method in class civquest.util.Rectangle
 
getBufferIntersectingCoord(Coordinate) - Method in class civquest.swing.quadmap.Buffer
Returns MapData.getAreaCoord.
getBuildings() - Method in class civquest.city.City
 
getChangesForMoveAlongPath(PossibleMovePath) - Method in class civquest.units.UnitMover
Returns all GameChanges necessary for moving the unit one step along the given PossibleMovePath.
getCity() - Method in class civquest.Field
 
getCity(long) - Method in class civquest.MapData
 
getCityIDs() - Method in class civquest.gameChange.AbstractCityFieldNationChange
 
getCityIDs() - Method in class civquest.gameChange.AbstractFieldCityChange
 
getCityIDs() - Method in class civquest.gameChange.AbstractFieldCityPlayerChange
 
getCityIDs() - Method in interface civquest.gameChange.CityChange
Returns the ids of all cities affected by this CityChange.
getCityIterator() - Method in class civquest.MapData
 
getCoasts(Coordinate) - Method in class civquest.MapData
 
getCol() - Method in class civquest.parser.Tokenizer
 
getCondition() - Method in class civquest.VegetationData
 
getConfiguration() - Method in class civquest.FlatMapData
 
getConfiguration() - Method in class civquest.IsoMapData
 
getConfiguration() - Method in class civquest.MapData
 
getCoordinate(Coordinate, int) - Method in class civquest.CoordinateSystem
Determines, for this coordinate system, the coordinate of the cell in the given direction.
getCoordinate(Coordinate, int) - Method in class civquest.FlatCoSystem
 
getCoordinate(Coordinate, int) - Method in class civquest.IsometricCoSystem
 
getCoords() - Method in class civquest.gameChange.AbstractCityFieldNationChange
 
getCoords() - Method in class civquest.gameChange.AbstractFieldChange
 
getCoords() - Method in class civquest.gameChange.AbstractFieldCityChange
 
getCoords() - Method in class civquest.gameChange.AbstractFieldCityPlayerChange
 
getCoords() - Method in class civquest.gameChange.AbstractFieldNationUnitChange
 
getCoords() - Method in class civquest.gameChange.AbstractFieldUnitChange
 
getCoords() - Method in class civquest.gameChange.AbstractFieldUnitPlayerChange
 
getCoords() - Method in interface civquest.gameChange.FieldChange
Returns the Coordinate(s) of the Field(s) affected by this FieldChange.
getCurrentProduction() - Method in class civquest.city.City
 
getDefense(int) - Method in class civquest.VegetationData
 
getDependencies() - Method in class civquest.Science
 
getDescription() - Method in class civquest.Field
 
getDescription() - Method in class civquest.Science
 
getDescription() - Method in class civquest.VegetationData
 
getDirectNeighborCoordinates(Coordinate) - Method in class civquest.CoordinateSystem
The same function as above, it just returns the coordinates in a Vector (for the case that this helps the caller).
getDirectNeighborCoordinates(Coordinate) - Method in class civquest.FlatCoSystem
 
getDirectNeighborCoordinates(Coordinate) - Method in class civquest.IsometricCoSystem
 
getDirectory() - Method in class civquest.VegetationData
 
getDisplayedMovePaths() - Method in class civquest.swing.quadmap.QuadMap
 
getDistAwayFromField() - Method in class civquest.units.Unit
 
getDistance() - Method in class civquest.map.FieldDistanceInfo
 
getDistanceTo(Coordinate) - Method in class civquest.util.Coordinate
Returns the (euklidian) distance between this Coordinate and the given Coordinate.
getDistanceToCoast() - Method in class civquest.Field
 
getDistanceToSea() - Method in class civquest.Field
 
getDoubleValue() - Method in class civquest.parser.ruleset.Field
 
getDoubleValue(int) - Method in class civquest.parser.ruleset.Field
 
getDoubleValue(String, String) - Method in class civquest.parser.ruleset.Table
 
getEngines() - Method in class civquest.units.Unit
 
getEnginesArray() - Method in class civquest.units.Unit
 
getEventIDs() - Method in class civquest.gameChange.AbstractGUIChange
 
getEventIDs() - Method in interface civquest.gameChange.GUIChange
Returns all event-constants assigned to this GUIChange.
getField(int, int) - Method in class civquest.MapData
Returns the field at the given (array)-coordinate.
getField(Coordinate) - Method in class civquest.MapData
 
getField() - Method in class civquest.map.FieldDistanceInfo
 
getField() - Method in class civquest.map.MapObject
 
getField(String) - Method in class civquest.parser.ruleset.Section
 
getField() - Method in class civquest.swing.fieldview.BasicFieldView
 
getField() - Method in class civquest.swing.fieldview.CompositeFieldView
 
getField() - Method in interface civquest.swing.fieldview.FieldView
Returns the field this FieldView displays.
getFieldByAbs(Coordinate) - Method in class civquest.swing.quadmap.Properties
Returns a reference to the field that is at the given absolute paint-coordinate.
getFieldIterator() - Method in class civquest.parser.ruleset.Section
 
getFieldRect() - Method in class civquest.swing.quadmap.Buffer
 
getFieldRectangle(Rectangle) - Method in class civquest.swing.quadmap.Properties
Returns the smallest rectangle (inside the fields-array) containing all fields displayed within the given rectangle (in absolute paint-coords).
getFieldRectangle(int, int, int, int) - Method in class civquest.swing.quadmap.Properties
 
getFlatTiles(int) - Method in class civquest.VegetationData
 
getFloatValue() - Method in class civquest.parser.ruleset.Field
 
getFloatValue(int) - Method in class civquest.parser.ruleset.Field
 
getFood() - Method in class civquest.Field
 
getFood(int) - Method in class civquest.VegetationData
 
getFromField() - Method in class civquest.units.ImpossibleMovePath
 
getGUIState() - Method in class civquest.swing.quadmap.QuadMap
 
getGame() - Static method in class civquest.Game
 
getGraphics() - Method in class civquest.swing.quadmap.Buffer
 
getH() - Method in class civquest.parser.condition.SimpleConditionParser
 
getHeight() - Method in class civquest.swing.quadmap.Buffer
 
getHeight() - Method in class civquest.util.Rectangle
 
getHeightConstant(String) - Static method in class civquest.Field
Returns the heightlevel-constant assigned to the height-level that is given by name.
getHeightLevel() - Method in class civquest.Field
 
getHeightString(int) - Static method in class civquest.Field
Returns a String with the name of the height-level that is given by height.
getHumidity() - Method in class civquest.Field
 
getID() - Method in class civquest.Player
Returns the unique id of this player.
getID() - Method in class civquest.city.City
Returns the unique id of this city.
getID() - Method in class civquest.nation.Nation
 
getID() - Method in class civquest.units.Unit
Returns the (unique) id of this unit.
getIdentifier() - Method in class civquest.parser.Tokenizer
 
getImage() - Method in class civquest.swing.quadmap.Buffer
 
getImage() - Method in class civquest.swing.quadmap.IsoUnitView
 
getIncompleteMoveDestField() - Method in class civquest.units.Unit
 
getIntValue() - Method in class civquest.parser.ruleset.Field
 
getIntValue(int) - Method in class civquest.parser.ruleset.Field
 
getIntValue(String, String) - Method in class civquest.parser.ruleset.Table
 
getInternalTimePerTurn() - Method in class civquest.Game
Returns the (internal)time one turn lasts.
getIsoTiles(int) - Method in class civquest.VegetationData
 
getLayer(int) - Method in class civquest.Field
 
getLine() - Method in class civquest.parser.Tokenizer
 
getListValue() - Method in class civquest.parser.ruleset.Field
 
getListenerSectionsForParent() - Method in interface civquest.swing.fieldview.FieldView
Returns a List of Sections defining which GameChanges this FieldView listens to.
getListenerSectionsForParent() - Method in class civquest.swing.fieldview.LayeredFieldView
Returns a List of Sections defining which GameChanges this FieldView listens to.
getListenerSectionsForParent() - Method in class civquest.swing.quadmap.fieldview.QuadFlatLayTerrainView
 
getListenerSectionsForParent() - Method in class civquest.swing.quadmap.fieldview.QuadFlatLayUnitView
 
getListenerSectionsForParent() - Method in class civquest.swing.quadmap.fieldview.QuadIsoLayTerrainView
 
getListenerSectionsForParent() - Method in class civquest.swing.quadmap.fieldview.QuadIsoLayUnitView
 
getMapData() - Static method in class civquest.Game
 
getMapData() - Method in class civquest.swing.quadmap.QuadMap
 
getMapHeight() - Method in class civquest.MapData
 
getMapWidth() - Method in class civquest.MapData
 
getMarkedFields() - Method in class civquest.swing.quadmap.Buffer
 
getMarkedFieldsIterator() - Method in class civquest.swing.quadmap.QuadMap
 
getMarkedUnitsIterator() - Method in class civquest.swing.quadmap.QuadMap
 
getMaxUsedID() - Static method in class civquest.nation.Nation