feat: add more info to target panel

This commit is contained in:
k0t9i
2023-01-31 20:18:10 +04:00
parent 24e6c4a180
commit 4dc08f3139
7 changed files with 184 additions and 75 deletions

View File

@@ -11,6 +11,7 @@ namespace Client.Domain.Entities
public interface CreatureInterface : INotifyPropertyChanged
{
uint Id { get; set; }
VitalStats VitalStats { get; set; }
Transform Transform { get; set; }
string Name { get; }
string BriefInfo { get; }

View File

@@ -15,6 +15,7 @@ namespace Client.Domain.Entities
{
private FullName fullName;
private Phenotype phenotype;
private VitalStats vitalStats = new VitalStats(0, 0, 0, 0, 0, 0);
public uint Id { get; set; }
public Transform Transform { get; set; }
@@ -58,6 +59,8 @@ namespace Client.Domain.Entities
}
}
public VitalStats VitalStats { get => vitalStats; set => vitalStats = value; }
public Player(uint id, Transform transform, FullName fullName, Phenotype phenotype)
{
Id = id;