public ViewManager() { SwinGame.LoadResourceBundle("bundle.txt"); _menu = new Menu(this); _instruction = new Instruction(this); _settings = new Settings(this); _BSEnd = new BS_End(this); _end = new ZYEnd(this); _MWEnd = new MWEnd(this); _MWMarioEnd = new MWMarioEnd(this); _easyMode = new ZYEasyMode(this); _mediumMode = new ZYMediumMode(this); _startMedium = new ZYStartMedium(this); _difficultMode = new ZYDifficultMode(this); _startDifficult = new ZYStartDifficult(this); _MWGame = new MWGame(this); _MWmarioGame = new MWmarioGame(this); _gameMode = new GameMode(this); _BSGame = new BS_Game(this); _pauseScreenForEasy = new PauseScreenForEasy(this); _pauseScreenForMedium = new PauseScreenForMedium(this); _zYcharacterSelection = new ZYCharacterInterface(this); _mWCustomerSelection = new MWCustomerSelection(this); _easyMode.SetSpeed(); _view = _menu; }
public ZYDifficultMode NewDifficultMode() { ZYDifficultMode difficultMode = new ZYDifficultMode(this); difficultMode.SetX(0); difficultMode.SetY(0); difficultMode.SetSpeed(); return(difficultMode); }
public ZYEasyMode NewZYGame() { _easyMode = new ZYEasyMode(this); _mediumMode = new ZYMediumMode(this); _difficultMode = new ZYDifficultMode(this); _easyMode.SetX(0); _easyMode.SetY(0); _mediumMode.SetX(0); _mediumMode.SetY(0); _difficultMode.SetX(0); _difficultMode.SetY(0); return(_easyMode); }