| Package | Description |
|---|---|
| com.TeamHEC.LocomotionCommotion.Goal | |
| com.TeamHEC.LocomotionCommotion.Player |
| Modifier and Type | Class and Description |
|---|---|
class |
SpecialGoal |
| Modifier and Type | Field and Description |
|---|---|
static Goal |
PlayerGoals.selectedGoal |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashMap<java.lang.String,Goal> |
GoalMenu.newgoals |
static java.util.HashMap<java.lang.String,Goal> |
PlayerGoals.playerGoals |
| Modifier and Type | Method and Description |
|---|---|
Goal |
GoalFactory.CreateRandomGoal()
Creates a new random Goal.
|
Goal |
GoalFactory.generateAbsoluteGoal(int difficulty)
Generates a new absolute goal using goal generation algorithm.
|
Goal |
GoalFactory.generateGoal(int difficulty)
Generates either a quantifiable or absolute goal with odds 6:4 - absolute:quantifiable.
|
Goal |
GoalFactory.generateQuantifiableGoal(int difficulty)
Generates a new quantifiable goal using goal generation algorithm an djikstras algorithm.
|
Goal |
GoalActor.getGoal() |
| Modifier and Type | Method and Description |
|---|---|
void |
GoalActor.setGoal(Goal goal) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GoalMenu.AddGoalToScreen(java.util.ArrayList<Goal> goals)
Runs through the goals given finding them empty slots (by calling findEmptyGoalSlot) and adding them to the GoalMenu.
|
| Constructor and Description |
|---|
GoalActor(int actorY,
int actorX,
boolean empty,
Goal goal) |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Goal> |
Player.getGoals() |
| Constructor and Description |
|---|
Player(java.lang.String name,
int points,
Gold gold,
Coal coal,
Electric electric,
Nuclear nuclear,
Oil oil,
java.util.ArrayList<Card> cards,
java.util.ArrayList<Goal> goals,
java.util.ArrayList<Train> trains) |