Ejemplo n.º 1
0
 public bool Update(IslandElement islandElement, float deltaTime)
 {
     if (!spell.CanDo(islandElement))
     {
         return(true);
     }
     if (decoAction == null)
     {
         decoAction = spell.Do(islandElement);
     }
     return(decoAction.Update(islandElement, deltaTime));
 }
 public void AddLifeAction(IIslandElementAction dropOffAction)
 {
     this.Unit.CurrentLifeAction = dropOffAction;
     UpdateToUpdateInFactory();
 }