@using Sandbox;
@using Sandbox.UI;
@namespace SS1
@inherits Panel
@attribute [StyleSheet("StatusPanel.razor.scss")]
<root>
@for(int i = Player.Statuses.Count - 1; i >= 0; i--)
{
var status = Player.Statuses.Values.ElementAt(i);
<StatusIcon Status=@status></StatusIcon>
}
</root>
@code
{
public Player Player { get; set; }
protected override int BuildHash()
{
return HashCode.Combine(
Time.Now
);
}
}