public PlayerShot(Coordinates coordinates) : base(coordinates, new char[,] { { '^' } }, new Coordinates(0, -1)) { this.Color = ConsoleColor.White; this.ObjectType = EObjectTypes.BULLET; this.Width = 1; }
public Sinister(Coordinates coordinates, Coordinates speed) : base(coordinates, new char[,] { { '>', 'U', '<' } }, speed) { this.Color = ConsoleColor.Magenta; this.Width = 3; this.Lifes = 3; }
public GameObject(Coordinates objectCoordinates, char[,] body) { this.Color = ConsoleColor.Gray; this.ObjectType = EObjectTypes.OBJECT; this.ObjectCoordinates = objectCoordinates; this.body = body; }
public EnemyShot(Coordinates coordinates) : base(coordinates, new char[,] { { '*' } }, new Coordinates(0, 1)) { this.Color = ConsoleColor.Red; this.ObjectType = EObjectTypes.ENEMYSHOT; this.Width = 1; }
public EnemyExplosion(Coordinates coordinates) : base(coordinates, new char[,] { { 'I' } }, new Coordinates(0, 1)) { this.Color = ConsoleColor.DarkYellow; this.ObjectType = EObjectTypes.BLAST; this.Width = 1; }
public PlayerShip(Coordinates objectCoordinates) : base(objectCoordinates, new char[,] { { ' ', 'A', ' ' }, { 'd', 'M', 'b' }}) { this.ObjectType = EObjectTypes.SHIP; this.Width = 3; this.Height = 2; this.Lifes = 5; }
public DrawableText(Coordinates coords, string message) { this.Coords = coords; body = new char[message.Length, 1]; for (int i = 0; i < message.Length; i++) { body[i, 0] = message[i]; } }
public SuperBoss(Coordinates coordinates, Coordinates speed) : base(coordinates, new char[,] { { '-','+','<','>','O','<','>','+','-'}, { '-','+','<','>','O','<','>','+','-'}, { ' ',' ','\\','>','V','<','/',' ',' '}}, speed) { this.Color = ConsoleColor.Red; this.ObjectType = EObjectTypes.BOSS; this.Width = 9; this.Lifes = 3; }
public Enemy(Coordinates coordinates, char[,] body, Coordinates speed) : base(coordinates, body, speed) { this.ObjectType = EObjectTypes.ENEMY; this.Lifes = 1; }
public Bomber(Coordinates coordinates, Coordinates speed) : base(coordinates, new char[,] { { '>', 'O', '<' } }, speed) { this.Color = ConsoleColor.Green; this.Width = 3; }
public Shot(Coordinates coordinates, char[,] body, Coordinates speed) : base(coordinates, body, speed) { this.ObjectType = EObjectTypes.SHOT; }
public Charger(Coordinates coordinates, Coordinates speed) : base(coordinates, new char[,] { { '-', 'O', '-' } }, speed) { this.Color = ConsoleColor.Blue; this.Width = 3; }
public WallBlock(Coordinates coordinates, char[,] body) : base(coordinates, body) { this.ObjectType = EObjectTypes.BLOCK; this.Width = 1; }
public MovingObject(Coordinates objectCoordinates, char[,] body, Coordinates speed) : base(objectCoordinates, body) { this.Speed = speed; }
public Horrific(Coordinates coordinates, Coordinates speed) : base(coordinates, new char[,] { { '>', '%', '<' } }, speed) { this.Color = ConsoleColor.Yellow; this.Width = 3; }