private void UpdateStats() { attack.Observe(observedPlayer?.Stats?.Attack); defense.Observe(observedPlayer?.Stats?.Defense); strength.Observe(observedPlayer?.Stats?.Strength); health.Observe(observedPlayer?.Stats?.Health); magic.Observe(observedPlayer?.Stats?.Magic); ranged.Observe(observedPlayer?.Stats?.Ranged); healing?.Observe(observedPlayer?.Stats?.Healing); }
public void Observe(PlayerController player) { observedPlayer = player; attack.Observe(player?.Stats?.Attack); defense.Observe(player?.Stats?.Defense); strength.Observe(player?.Stats?.Strength); health.Observe(player?.Stats?.Health); magic.Observe(player?.Stats?.Magic); ranged.Observe(player?.Stats?.Ranged); }
private void UpdateStats() { woodcutting.Observe(observedPlayer?.Stats?.Woodcutting); fishing.Observe(observedPlayer?.Stats?.Fishing); mining.Observe(observedPlayer?.Stats?.Mining); crafting.Observe(observedPlayer?.Stats?.Crafting); cooking.Observe(observedPlayer?.Stats?.Cooking); farming.Observe(observedPlayer?.Stats?.Farming); slayer.Observe(observedPlayer?.Stats?.Slayer); sailing.Observe(observedPlayer?.Stats?.Sailing); }
public void Observe(PlayerController player) { observedPlayer = player; woodcutting.Observe(player?.Stats?.Woodcutting); fishing.Observe(player?.Stats?.Fishing); mining.Observe(player?.Stats?.Mining); crafting.Observe(player?.Stats?.Crafting); cooking.Observe(player?.Stats?.Cooking); farming.Observe(player?.Stats?.Farming); slayer.Observe(player?.Stats?.Slayer); sailing.Observe(player?.Stats?.Sailing); }