Adding Parent Connection for Parts

This commit is contained in:
Jonathan
2025-04-27 20:05:18 -04:00
parent cacbe6979e
commit 25776b3b00
3 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -1,11 +1,12 @@
<h3>WeaponTable</h3>
<MudDataGrid Items="@_entityWeapons.Take(4)">
<MudDataGrid Items="@_entityWeapons">
<Columns>
<PropertyColumn Property="x => x.Range" Title="Range"/>
<PropertyColumn Property="x => x.Damage" Title="Damage"/>
<PropertyColumn Property="x => x.AttacksPerSecond" Title="Attacks Per Second"/>
<PropertyColumn Property="x => x.Parent.GetName()" Title="Owner Name"/>
</Columns>
</MudDataGrid>