/// <summary> /// /// </summary> /// <param name="reader"></param> public override void FromNetwork(BinaryReader reader) { base.FromNetwork(reader); var combatPart = new CombatEntityPart(); combatPart.FromNetwork(reader); UpdateCombatEntityPart(combatPart); }
/// <summary> /// /// </summary> /// <param name="part"></param> public void UpdateCombatEntityPart(CombatEntityPart part) { SetMaxLife(part.MaxLife); SetLife(part.CurrentLife); }