Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the ColorStreamRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public ColorStreamRenderer(NeatGame game)
     : base(game)
 {
     this.skeletonStream = new SkeletonStreamRenderer(game, this.SkeletonToColorMap);
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the DepthStreamRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public DepthStreamRenderer(NeatGame game)
     : base(game)
 {
     this.skeletonStream = new SkeletonStreamRenderer(game, this.SkeletonToDepthMap);
     this.Size           = new Vector2(160, 120);
 }