Beispiel #1
0
        public void SetContext(ContextGame game, ContextMode mode)
        {
            currentGame = game;
            currentMode = mode;

            if (OnContextChange != null)
            {
                OnContextChange(this, new ContextChangeEventArgs(game, mode));
            }
        }
Beispiel #2
0
        public void SetContext(ContextGame game, ContextMode mode)
        {
            currentGame = game;
            currentMode = mode;

            if (OnContextChange != null) { OnContextChange(this, new ContextChangeEventArgs(game, mode)); }
        }
Beispiel #3
0
 public void SetContext(ContextGame game)
 {
     SetContext(game, currentMode);
 }
Beispiel #4
0
 public ContextChangeEventArgs(ContextGame game, ContextMode mode)
 {
     this.GameContext = game;
     this.ModeContext = mode;
 }
Beispiel #5
0
 public ContextChangeEventArgs(ContextGame game, ContextMode mode)
 {
     this.GameContext = game;
     this.ModeContext = mode;
 }
Beispiel #6
0
 public void SetContext(ContextGame game)
 {
     SetContext(game, currentMode);
 }