示例#1
0
 public BrowserGame(GameParameters gParams)
     : base(gParams)
 {
 }
示例#2
0
 public SlideshowGame(GameParameters gParams)
     : base(gParams)
 {
 }
示例#3
0
 /// <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 });
 }
示例#4
0
 /// <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;
 }
示例#5
0
 public SparklerGame(GameParameters gParams)
     : base(gParams)
 {
 }
示例#6
0
 //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)
 {
 }
示例#7
0
 public DepthGame(GameParameters gParams)
     : base(gParams)
 {
 }
示例#8
0
 public TestGame(GameParameters gParams)
     : base(gParams)
 {
 }
示例#9
0
 public SampleGame(GameParameters gParams)
     : base(gParams)
 {
 }