Inheritance: Microsoft.Xna.Framework.AndroidGameActivity
Exemple #1
0
 public GameActivityHeader(GameActivity gameActivity, Game game, User user)
 {
     this.GameActivity       = gameActivity;
     this.Game               = game;
     this.User               = user;
     this.IsSeparatorVisible = true;
 }
Exemple #2
0
 /// <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;
 }
Exemple #5
0
 public void BrainPadLoop()
 {
     players = PlayersActivity.Show(players);
     GameActivity.Show(players);
 }