Esempio n. 1
0
    public void HealthChanged(S.HealthChanged p)
    {
        User.HP = p.HP;
        User.MP = p.MP;

        User.Player.PercentHealth = (byte)(User.HP / (float)User.MaxHP * 100);
        GameScene.RefreshStatsDisplay();
    }
Esempio n. 2
0
 public static void HealthChanged(S.HealthChanged p)
 {
     gameManager.HealthChanged(p);
 }