/// <summary> /// Initializes a new instance of the <see cref="RPS.RockPaperScissorsState"/> class. /// </summary> /// <param name="gameMode">Game mode.</param> /// <param name="targetObject">Target object.</param> /// <param name="stateData">State data.</param> public RockPaperScissorsState(Globals.GameModes gameMode, GameView targetObject, Dictionary <string, object> stateData) : base(targetObject, stateData) { // Create our model based on game mode model = (gameMode == Globals.GameModes.SinglePlayer ? model = new SingleRockPaperScissorsModel() : new MultiRockPaperScissorsModel()) as IRockPaperScissorsModel; }
public MenuState(GameView targetObject, Dictionary <string, object> stateData) : base(targetObject, stateData) { }