package nautilus.game.arcade; import nautilus.game.arcade.game.Game; /** * This Object represents a Gamemode used in the GameType constructor * * @author xXVevzZXx */ public class GameMode { private Class _gameMode; private GameType _gameType; private String _name; /** * * @param gameMode Game class that in most cases extends the host game class * @param name Gamemode name */ public GameMode(Class gameMode, GameType gameType, String name) { _gameMode = gameMode; _gameType = gameType; _name = name; } /** * * @return Game class */ public Class getGameClass() { return _gameMode; } /** * * @return Gamemode name */ public String getName() { return _name; } /** * * @return Gamemode gametype */ public GameType getType() { return _gameType; } }