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 ZYMediumMode NewMediumMode() { ZYMediumMode mediumMode = new ZYMediumMode(this); mediumMode.SetX(0); mediumMode.SetY(0); mediumMode.SetSpeed(); return(mediumMode); }
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); }