// Draw enemy boss public override void Draw() { if (IsAlive && score.Points >= 1500) { //foreach (var item in bulletsR) //{ // item.Draw(); //} //foreach (var item in bulletsL) //{ // item.Draw(); //} for (int i = 0; i < bulletsR.Length; ++i) { bulletsR[i].Draw(); bulletsL[i].Draw(); } DrawShip(); //lives.Clear(); lives.Draw(); } //if (this.Alive && this.score.Points >= 2500) //{ // for (int i = 0; i < bulletsR.Length; ++i) // { // bulletsR[i].Draw(); // bulletsL[i].Draw(); // } // DrawShip(); //} }
// Draw player public override void Draw() { if (bullets != null) { foreach (var item in bullets) { item.Draw(); } } if (IsAlive) { ForegroundColor = ConsoleColor.Green; SetCursorPosition(X, Y); Write("+^+"); CursorLeft -= 1; score.Draw(); lives.Draw(); } }