Added HUD drawing logic.

This commit is contained in:
2025-12-21 23:22:53 -05:00
parent ecdc501752
commit 42608a16e3
11 changed files with 247 additions and 39 deletions

View File

@@ -9,7 +9,7 @@ using System.Collections.Generic;
namespace AlienAttack.MonoGame.Things.Enemies;
internal class GreenEnemy : MoveableSprite
internal class GreenEnemy : EnemyShip
{
//Enemy01_Green_Frame_1_png_processed
@@ -113,5 +113,10 @@ internal class GreenEnemy : MoveableSprite
{
Health -= bullet.Damage;
}
if (context.Sprite is Player)
{
Health = 0;
}
}
}