using DoomDeathmatch.Component.MVC.Model;
using Engine.Scene.Component.BuiltIn.Renderer;

namespace DoomDeathmatch.Component.MVC.View;

public class EnemyHealthView : HealthView
{
  public EnemyHealthView(TextRenderer parHealthTextRenderer) : base(parHealthTextRenderer)
  {
  }

  public override void UpdateView(HealthModel parHealthModel)
  {
    _healthTextRenderer.Text = $"Здоровье: {parHealthModel.Health:000}";
  }
}