/* (non-Javadoc)
   * @see ckGameEngineAlpha.actions.CKQuestCmd#doAction()
   */
  @Override
  protected void questDoAction(CKSpellCast cast) {
    CKAbstractGridItem item = cast.getItemTarget();
    if (cast.getActorTarget() != null) {
      cast.getActorTarget().getTurnController().onRemove();
    }

    item.removeItemFromGrid(CKGameObjectsFacade.getQuest().getGrid());
  }
  @Override
  public boolean isSatisfied(CKSpellCast cast) {
    CKGridActor tar;
    if (cast != null) {
      tar = cast.getActorTarget();
    } else {
      tar = getPC(pc);
    }

    if (tar.getTurnNumber() == turns) {
      return true;
    }
    return false;
  }
  /* (non-Javadoc)
   * @see ckGameEngineAlpha.actions.CKQuestCmd#doAction()
   */
  @Override
  protected void questDoAction(CKSpellCast cast) {
    CKGridActor target;
    if (cast != null) {
      target = cast.getActorTarget();
    } else {
      target = getPC(name);
    }

    Quest w = CKGameObjectsFacade.getQuest();
    try {
      CKGameObjectsFacade.getEngine()
          .cameraFollowInstance(w.gettId(), target.getInstanceID(), w.getStartTime(), 30);
    } catch (BadInstanceIDError e) {
      e.printStackTrace();
    } catch (CircularDependanceError e) {
      e.printStackTrace();
    }
  }