public TestGameCommandList(Games.GameBase currentGame, MainGameForm.MessageHandler messageHandler) { this.messages = new MessageList(@".\messagelists\testgame.msglst"); this.currentGame = currentGame; this.messageHandler = messageHandler; this.standardCommandList = new StandardCommandList(currentGame, messageHandler); this.adultCommandList = new AdultCommandList(currentGame, messageHandler); }
public BabysittingCommandList(Games.GameBase currentGame, MainGameForm.MessageHandler messageHandler) { this.messages = new MessageList(@".\MessageLists\BS.msgLst"); this.currentGame = currentGame; this.messageHandler = messageHandler; this.standardCommandList = new StandardCommandList(currentGame, messageHandler); this.adultCommandList = new AdultCommandList(currentGame, messageHandler); }
public override void Init() { this.commandLists.Add(new Commands.BabysittingCommandList(this, messageHandler)); this.commandLists.Add(new Commands.AdultCommandList(this, messageHandler)); this.commandLists.Add(new Commands.StandardCommandList(this, messageHandler)); babySittingCommandList = new Commands.BabysittingCommandList(this, messageHandler); standardCommandList = new Commands.StandardCommandList(this, messageHandler); this.GameTitle = "Babysitting V0.1a\n"; AddRooms(); AddCharacters(); babySittingCommandList.intro(null); }