Exemplo n.º 1
0
        public bool HasCompletedTarget(Game_Pawn aPawn, Quest_Target aTarget)
        {
            Game_PlayerPawn playerPawn = (aPawn as Game_PlayerPawn);

            if (playerPawn != null && aTarget != null)
            {
                if (aTarget.Check(playerPawn.questLog.GetTargetProgress(aTarget.GetQuest(), aTarget.GetIndex())))
                {
                    return(true);
                }
            }
            return(false);
        }
Exemplo n.º 2
0
        public bool HasFailedTarget(Game_Pawn aPawn, Quest_Target aTarget)
        {
            Game_PlayerPawn playerPawn = aPawn as Game_PlayerPawn;

            return(playerPawn != null && aTarget != null && aTarget.Failed(playerPawn.questLog.GetTargetProgress(aTarget.GetQuest(), aTarget.GetIndex())));
        }
Exemplo n.º 3
0
 public bool HasTargetActive(Game_Pawn aPawn, Quest_Target aTarget)
 {
     throw new NotImplementedException();
 }