A B C F G M N S T W X Y

A

actionPerformed(ActionEvent) - Method in class WorldGUI
Called if a button has been pressed

B

btnExit - Variable in class WorldGUI
Exit and save button
btnRun - Variable in class WorldGUI
Starts the run of the generations

C

countNeighbors(int, int) - Method in class Tribe
Returns the number of neighbors of the indecated point
countPopulation() - Method in class Tribe
Returns the population count for the tribe
countPopulation() - Method in class World
Counts the total population of the world

F

filePath - Variable in class World
Path to the input file

G

getSymbol() - Method in class Tribe
Returns the symbolf for the tribe
getWorld() - Method in class Tribe
Returns the world of the tribe

M

main(String[]) - Static method in class WorldGUI
Initiates the system

N

nextGeneration() - Method in class Tribe
Runs the next generation
nextGeneration() - Method in class World
Runs the next generation of the world

S

save() - Method in class World
Saves the world to the input text file
start(int) - Method in class WorldGUI
Starts the run of generations
symbol - Variable in class Tribe
Symbol for the tribe

T

Tribe - class Tribe.
Write a description of class Tribe here.
Tribe(String, int, int) - Constructor for class Tribe
Constructor for objects of class Tribe
toFile() - Method in class Tribe
Returns the string that is written to the file
toString() - Method in class World
Returns the text representation of the world
tribes - Variable in class World
List of tribes in the world
txtGen - Variable in class WorldGUI
Text area for the number of generations to be entered in
txtWorld - Variable in class WorldGUI
Text area world is displayed in

W

World - class World.
World keeps track of the tribes
World(String) - Constructor for class World
Constructor for objects of class World
WorldGUI - class WorldGUI.
WorldGUI gives a GUI reprensentation of the world of tribes
WorldGUI(String) - Constructor for class WorldGUI
Constructor for the WorldGUI
war(int, int) - Method in class Tribe
Decleares war in the indecated point
war(char, int, int) - Method in class Tribe
Declares the winner of the war
world - Variable in class Tribe
Represenation of the world for the tribe to use
world - Variable in class World
Text representation of the world
world - Variable in class WorldGUI
World of the tribes

X

x - Variable in class World
Width of the world

Y

y - Variable in class World
Height of the world

A B C F G M N S T W X Y