All Classes

Class Description
Aeroplane
Aeroplane is a type of troop.
AeroplaneTest  
AntiTowerDefence
An instantiation of AntiTowerDefence runs the AntiTowerDefence game.
CrossroadRegion
CrossroadRegion is a region type that holds three "next positions" and a method for switching between these to assign the regions actual next position.
CrossroadTest  
CurrentState
CurrentState has methods to change the user interface and update it based on what is happening in the game.
DbTest  
DrawImage
DrawImage draws image of next frame in AntiTowerDefence.
EmptyRegion
EmptyRegion is a region type that does can only be instantiated, but has no methods to that does things.
EnterRegion
***** UNDER CONSTRUCTION ***** EnterRegion is a region type that holds its own position and the position as well the corresponding region of its next region, i.e.
ExitRegion
***** UNDER CONSTRUCTION ****** ExitRegion is a type of region that a troop appears at if it went into a EnterRegion.
GoalRegion
GoalRegion represents the last region on a path.
Gui  
Highscore
Highscore is a class that holds a score and a corresponding name (of a player).
HighscoreDb
HighscoreDb has methods to communicate with the database holding highscores and corresponding names.
HighscoreTest  
Level
***** CURRENTLY NOT IN USE.
LevelState  
LevelTest  
LoadRegion
LoadRegion uses Java reflections to get the region type and instantiate an object of it.
Path
Path has methods for reading the path specified in the XML sheet, i.e.
PathRegion
PathRegion is a walkable region type.
PlayerState
PlayerState keeps track of the players money, highscore and corresponding name.
PlayerStateTest  
Position
Position is a class that represents the X and Y coordinates in map.
PositionTest  
ReginTest  
Region
Region is an interface with methods to retrieve position and region of next region (where to send troops).
Soldier
Soldier is a type of troop that has a specific amount of health, price and speed.
SoldierTest  
StartRegion
StartRegion represents the region that is placed at the beginning of a path, i.e.
TeleporterRegion
***** NOT CURRENTLY IN USE *****
TeleporterTroop
TeleporterTroop is a special troop that can place teleporters on the map.
test  
Testload
***** FOR TESTING *****
TestPathRegion  
TestTeleporterRegion  
Tower
A tower attacks troops within its specified range with its specified attack interval and damage output.
TowerRegion
TowerRegion is a type of level specific region that a tower can appear at the start of each level.
TowerTest  
Troop
A troop is a unit that moves on a path from start to goal region.
XMLParser
Level class is reads an XML file that follows a certain XML schema.