All Classes and Interfaces
Class
Description
Class that extends Application
from javafx.
public class Army.
Handles writing, reading and importing
armies to and from a file.
Class Battle that simulates a battle between two armies.
A controller class which
handles events in the fxml file battle-armies.fxml.
Singleton class to hold information for the controllers.
Class CavalryUnit that inherits from Unit.
Class CommanderUnit that inherits from CavalryUnit.
A dialog box that extends alert to use
a builder to build a dialog box.
A builder class which simplifies the process of
building a DialogBox object.
A controller class which
handles events in the fxml file edit-army.fxml.
Thrown if an extension of a file is invalid
The exception thrown needs to have a message
Class InfantryUnit that inherits from Unit.
The main class that is run when the application
is called upon.
Class RangedUnit that inherits from Unit.
Deprecated.
Provided no extra functionality and made the program harder to read.
An enum that represents the different terrains
that the battles can occur on.
The abstract class Unit.
A class to simply and elegantly create units.
An enum that represents the different unit types
that an army can contain.