Exemple #1
0
 public GameBase(MainGameForm.MessageHandler messageHandler, MainGameForm mainGameForm)
 {
     this.player         = new Characters.player();
     this.messageHandler = messageHandler;
     this.mainGameForm   = mainGameForm;
     this.mainGameForm.TurnChangedEvent += mainGameForm_TurnChangedEvent;
 }
 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);
 }
Exemple #3
0
        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 StandardCommandList(Games.GameBase currentGame, MainGameForm.MessageHandler messageHandler)
 {
     this.currentGame    = currentGame;
     this.messageHandler = messageHandler;
 }
Exemple #5
0
 public TestGame(MainGameForm.MessageHandler messageHandler, MainGameForm mainGameForm)
     : base(messageHandler, mainGameForm)
 {
     Init();
 }
Exemple #6
0
 public TestGame(MainGameForm.MessageHandler messageHandler)
     : base(messageHandler, null)
 {
     Init();
 }
Exemple #7
0
 public BabySitting(MainGameForm.MessageHandler messageHandler, MainGameForm mainGameForm)
 {
     this.messageHandler = messageHandler;
     this.mainGameForm   = mainGameForm;
     Init();
 }