org.eclipse.palamedes.gdl.core.model
Class GameFactory
java.lang.Object
org.eclipse.palamedes.gdl.core.model.utils.AbstractFactory
org.eclipse.palamedes.gdl.core.model.GameFactory
public final class GameFactory
- extends AbstractFactory
The GameFactory class is responsible for loading and creating games from all
kind of sources with the reasoner of choice.
It offers two methods:
- loadGame(, ): which loads a game from a file
- createGame(, ): which creates a game from a string
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAVAPROVER
public static final java.lang.String JAVAPROVER
- See Also:
- Constant Field Values
JOCULAR
public static final java.lang.String JOCULAR
- See Also:
- Constant Field Values
PROLOGPROVER
public static final java.lang.String PROLOGPROVER
- See Also:
- Constant Field Values
getInstance
public static GameFactory getInstance()
- Returns the instance of the strategy factory.
createGame
public IGame createGame(java.lang.String reasoner,
java.lang.String gdl)
loadGame
public IGame loadGame(java.lang.String reasoner,
java.lang.String filename)