public GameObject(Coordinates topLeft, char[,] body)
 {
     this.TopLeft = topLeft;
     this.Body = body;
     this.ObjectColor = GameObject.defaultColor;
     this.isDestroyed = false;
 }
 public MovableObject(Coordinates topLeft, Coordinates speed, char[,] body)
     : base(topLeft, body)
 {
     this.Speed = speed;
 }
示例#3
0
 public TimeText(Coordinates topLeft)
     : base(topLeft, new char[,] { { '0' } })
 {
     TimeText.playedTime = new DateTime();
     this.Body = this.GetImage();
 }
示例#4
0
 public Scores(Coordinates topLeft)
     : base(topLeft, new char[,] { { '0' } })
 {
     this.Score = 0;
     this.Body = this.GetImage();
 }
        public ExplodingBlock(Coordinates topLeft, char[,] body)
            : base(topLeft, new Coordinates(1, 0), body)
        {

        }
 public FallingBlock(Coordinates topLeft, Coordinates speed, char[,] body)
     : base(topLeft, speed, body)
 {
     
 }
示例#7
0
 public Text(Coordinates topLeft, char[,] body) 
     : base(topLeft) 
 {
     this.Body = body;
 }
 public StaticObject(Coordinates topLeft)
     : base(topLeft, StaticObject.body)
 {
     
 }
 public StaticObject(Coordinates topLeft, ConsoleColor color)
     : this(topLeft)
 {
     this.ObjectColor = color;
 }
示例#10
0
 public InfoWall(Coordinates topLeft, char[,] body) 
     : base(topLeft) 
 {
     this.ObjectColor = ConsoleColor.DarkGreen;
     this.Body = body;
 }