33 lines
437 B
Java
33 lines
437 B
Java
|
package nautilus.game.arcade;
|
||
|
|
||
|
import nautilus.game.arcade.game.Game;
|
||
|
|
||
|
/**
|
||
|
* GameMode
|
||
|
*
|
||
|
* @author xXVevzZXx
|
||
|
*/
|
||
|
public class GameMode
|
||
|
{
|
||
|
|
||
|
private Class<? extends Game> _gameMode;
|
||
|
private String _name;
|
||
|
|
||
|
public GameMode(Class<? extends Game> gameMode, String name)
|
||
|
{
|
||
|
_gameMode = gameMode;
|
||
|
_name = name;
|
||
|
}
|
||
|
|
||
|
public Class<? extends Game> getGameClass()
|
||
|
{
|
||
|
return _gameMode;
|
||
|
}
|
||
|
|
||
|
public String getName()
|
||
|
{
|
||
|
return _name;
|
||
|
}
|
||
|
|
||
|
}
|