public GameActivityHeader(GameActivity gameActivity, Game game, User user) { this.GameActivity = gameActivity; this.Game = game; this.User = user; this.IsSeparatorVisible = true; }
/// <summary> /// Initializes a new instance of the <see cref="GameState"/> class. /// </summary> /// /// <param name="activity">The activity considered current for the game.</param> /// public GameState(GameActivity activity = GameActivity.Unknown) { this.Activity = activity; this.RegisteredDevices = new Dictionary <string, GameDevice>(); this.ActiveDevices = new HashSet <string>(); this.PingsSent = new List <PingPongData>(); this.PongsReceived = new List <PingPongData>(); this.ActivePing = null; this.WinningDeviceId = null; }
public Controller(NewGame NG, GameActivity AC) { newGame = NG; activity = AC; }
public void SetGameActivity(GameActivity gameActivity) { this.activity = gameActivity; }
public void BrainPadLoop() { players = PlayersActivity.Show(players); GameActivity.Show(players); }