marauroa.game
Class PlayerDatabaseFactory

java.lang.Object
marauroa.game.PlayerDatabaseFactory
- public class PlayerDatabaseFactory
- extends java.lang.Object
MessageFactory is the class that is in charge of creating the correct object
for the database choosed in the configuration file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayerDatabaseFactory
public PlayerDatabaseFactory()
getDatabase
public static PlayerDatabase getDatabase()
throws PlayerDatabase.NoDatabaseConfException
- This method returns an instance of PlayerDatabase choosen using the Configuration file.
getDatabase
public static PlayerDatabase getDatabase(java.lang.String database_type)
throws PlayerDatabase.NoDatabaseConfException
- This method returns an instance of PlayerDatabase choosen using the param.