Persist lock weapon state in typed snapshots
This commit is contained in:
parent
d462ec6942
commit
6a6a19d08f
11 changed files with 89 additions and 14 deletions
|
|
@ -58,6 +58,10 @@ public class LockWeapon : InstantWeapon
|
|||
get => saturate(_lock);
|
||||
}
|
||||
|
||||
public float LockProgress => saturate(_lock);
|
||||
|
||||
public Entity LockTarget => _target;
|
||||
|
||||
public LockWeapon(LockWeaponData data, EquippedItem item) : base(data, item)
|
||||
{
|
||||
_data = data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue