Exemplo n.º 1
0
 public GameObject(Coordinates topLeft, char[,] body)
 {
     this.TopLeft = topLeft;
     this.Body = body;
     this.ObjectColor = GameObject.defaultColor;
     this.isDestroyed = false;
 }
Exemplo n.º 2
0
 public MovableObject(Coordinates topLeft, Coordinates speed, char[,] body)
     : base(topLeft, body)
 {
     this.Speed = speed;
 }
Exemplo n.º 3
0
 public TimeText(Coordinates topLeft)
     : base(topLeft, new char[,] { { '0' } })
 {
     TimeText.playedTime = new DateTime();
     this.Body = this.GetImage();
 }
Exemplo n.º 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)
        {

        }
Exemplo n.º 6
0
 public FallingBlock(Coordinates topLeft, Coordinates speed, char[,] body)
     : base(topLeft, speed, body)
 {
     
 }
Exemplo n.º 7
0
 public Text(Coordinates topLeft, char[,] body) 
     : base(topLeft) 
 {
     this.Body = body;
 }
Exemplo n.º 8
0
 public StaticObject(Coordinates topLeft)
     : base(topLeft, StaticObject.body)
 {
     
 }
Exemplo n.º 9
0
 public StaticObject(Coordinates topLeft, ConsoleColor color)
     : this(topLeft)
 {
     this.ObjectColor = color;
 }
Exemplo n.º 10
0
 public InfoWall(Coordinates topLeft, char[,] body) 
     : base(topLeft) 
 {
     this.ObjectColor = ConsoleColor.DarkGreen;
     this.Body = body;
 }