public override void Draw(Vector2 Position, Vector2 Size) { DigitRenderer.DrawDigits( ParentBox.ParentShip.Attacking ? ParentBox.ParentShip.getUnitCasts() : ParentBox.ParentShip.getSmallBombs(), 1, Position, Size, TeamInfo.HudColors[ParentBox.ParentShip.GetTeam()] * Alpha); base.Draw(Position, Size); }
public override void Draw(Vector2 Position, Vector2 Size) { DigitRenderer.DrawDigits(FactionManager.GetFaction(ParentBox.ParentShip.FactionNumber).Cells, 4, Position, Size, TeamInfo.HudColors[ParentBox.ParentShip.GetTeam()] * Alpha); base.Draw(Position, Size); }