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(); }
public static void HealthChanged(S.HealthChanged p) { gameManager.HealthChanged(p); }