Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SnakeHead"/> class.
 /// </summary>
 /// <param name="p">
 /// The position
 /// </param>
 public SnakeHead(Point p)
 {
     this.Position = p;
     this.ConsoleTexture = '@';
     this.Color = "Green";
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConsoleBlank"/> class.
 /// </summary>
 /// <param name="pos">
 /// The position to be set
 /// </param>
 public ConsoleBlank(Point pos)
 {
     this.Color = "Black";
     this.Texture = ' ';
     this.Position = pos;
 }