public APlay(CoordHelper.EProfile profile) : base() { CoordHelper.Instance.setProfile(profile); hud = new HUD(); control = new PlayerControl(this); player1 = new GameSession(CoordHelper.EProfile.ONEPLAYER, hud); ipt = null; if (App.UserInput is TouchInput) ipt = App.UserInput as TouchInput; else (App.UserInput as KeyboardInput).KeyRepeatTime = new TimeSpan(1500000); }
public TwoPlayer() : base(CoordHelper.EProfile.TWOPLAYER) { player2 = new GameSession(CoordHelper.EProfile.TWOPLAYER, hud); timer = TimeSpan.FromMilliseconds(120000); }