public BrowserGame(GameParameters gParams)
     : base(gParams)
 {
 }
 public SlideshowGame(GameParameters gParams)
     : base(gParams)
 {
 }
 /// <summary>
 /// A factory method for creating an instance of a KinectGame
 /// from its type. For this method to work, a game must NOT
 /// modify the constructor.
 /// </summary>
 /// <param name="t"></param>
 /// <param name="gParams"></param>
 /// <returns></returns>
 public static KinectGame Create(Type t, GameParameters gParams)
 {
     return (KinectGame)Activator.CreateInstance(t, new object[] { gParams });
 }
 /// <summary>
 /// Creates a KinectGame. This constructor should not
 /// be overridden.
 /// </summary>
 /// <param name="gParams">The GameParameters describing the environment in which the game is running.</param>
 public KinectGame(GameParameters gParams)
 {
     resolution = gParams.Resolution;
     graphics = gParams.Graphics;
     window = gParams.Window;
 }
Exemple #5
0
 public SparklerGame(GameParameters gParams)
     : base(gParams)
 {
 }
 //Particle Effects. Not part of the Kinect, so it won't be documented here. Just trust the they work.
 //Boolean indicating whether the second player is in the middle of a clap
 public LightningGame(GameParameters gParams)
     : base(gParams)
 {
 }
 public DepthGame(GameParameters gParams)
     : base(gParams)
 {
 }
Exemple #8
0
 public TestGame(GameParameters gParams)
     : base(gParams)
 {
 }
Exemple #9
0
 public SampleGame(GameParameters gParams)
     : base(gParams)
 {
 }