UI Improvements
Target box now has bars for visibility and HP Hit indicator appears when target is damaged by player's weapons WIP narrative integration
This commit is contained in:
parent
62142398f9
commit
ecd52b20c8
30 changed files with 2397 additions and 131 deletions
|
|
@ -113,7 +113,8 @@ public abstract class Entity
|
|||
public int AssignedPopulation => PopulationAssignments.Sum(pa => pa.AssignedPopulation);
|
||||
public float Mass { get; private set; }
|
||||
public float Visibility => VisibilitySources.Values.Sum();
|
||||
|
||||
|
||||
public Subject<Entity> IncomingHit = new Subject<Entity>();
|
||||
public Subject<(int2 pos, float damage)> ArmorDamage = new Subject<(int2, float)>();
|
||||
public Subject<(EquippedItem item, float damage)> ItemDamage = new Subject<(EquippedItem, float)>();
|
||||
// public Subject<EquippedItem> ItemOffline = new Subject<EquippedItem>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue