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);
 }
예제 #2
0
 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);
 }
예제 #3
0
 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);
 }
예제 #4
0
 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);
 }