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;
 }
 public TimeText(Coordinates topLeft)
     : base(topLeft, new char[,] { { '0' } })
 {
     TimeText.playedTime = new DateTime();
     this.Body = this.GetImage();
 }
Beispiel #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)
 {
     
 }
Beispiel #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;
 }
 public InfoWall(Coordinates topLeft, char[,] body) 
     : base(topLeft) 
 {
     this.ObjectColor = ConsoleColor.DarkGreen;
     this.Body = body;
 }