3536373839404142
/** * Create the standard factory and parser. */ @Before public void setUp() { IGameFactory factory = new DefaultGameFactory(); parser = new MapParser(factory); }
53545556575859
* Subclasses can override this method to provide * a specialized factory. * @return The new game factory. */ public IGameFactory makeFactory() { return new DefaultGameFactory(); }