public override void Deserialize(IDeserializer deserializer)
 {
     // CODE HERE
     LogicComponent logicCOm = this.Owner as LogicComponent;
     if (logicCOm == null)
         throw new Exception("PL_NormalLogicBehavior: Expect Logic Component");
     logicCOm.Health = deserializer.DeserializeInteger("Health");
     damagePerSecond = deserializer.DeserializeInteger("Damage");
 }
 public override void Deserialize(IDeserializer deserializer)
 {
     // CODE HERE
     LogicComponent logicCOm = this.Owner as LogicComponent;
     if (logicCOm == null)
         throw new Exception("PL_NormalLogicBehavior: Expect Logic Component");
     logicCOm.Health = deserializer.DeserializeInteger("Health");
     _timeGiveSun = deserializer.DeserializeDouble("TimeGiveSun");
 }