com.TeamHEC.LocomotionCommotion.Goal
Class GoalFactory

java.lang.Object
  extended by com.TeamHEC.LocomotionCommotion.Goal.GoalFactory

public class GoalFactory
extends java.lang.Object

Author:
Sam Watkins , Sam Anderson Generates random Goals.

Constructor Summary
GoalFactory(int turnCount)
          Initialises the GoalFactory
 
Method Summary
 Goal CreateRandomGoal()
          Creates a new random Goal.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoalFactory

public GoalFactory(int turnCount)
Initialises the GoalFactory

Method Detail

CreateRandomGoal

public Goal CreateRandomGoal()
Creates a new random Goal.

Returns:
A random goal.