Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 13, 2009, 10:17:01 PM (15 years ago)
Author:
dafrick
Message:

Some more updated documentation, this time in QuestEffectBeacon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/questsystem/QuestEffectBeacon.cc

    r5929 r5938  
    9090    @brief
    9191        Executes the QuestEffectBeacon.
    92         This means extracting the ControllableEntity from the PlayerTrigger, provided by the Event causing the execution, and the extracting the PlayerInfo from the received ControllableEntity and invoking the QuestEffectbeacon's QuestEffects on the received PlayerInfo.
     92        This means extracting the Pawn from the PlayerTrigger, provided by the Event causing the execution, and the extracting the PlayerInfo from the received Pawn and invoking the QuestEffectbeacon's QuestEffects on the received PlayerInfo.
    9393    @param trigger
    9494        Apointer to the PlayerTrigger that threw the Event.
     
    108108        }
    109109
    110         if(!trigger->isForPlayer()) //!< The PlayerTrigger is not exclusively for ControllableEntities which means we cannot extract one.
    111         {
    112             return false;
    113         }
    114 
    115         //! Extracting the ControllableEntity form the PlayerTrigger.
     110        if(!trigger->isForPlayer()) //!< The PlayerTrigger is not exclusively for Pawns which means we cannot extract one.
     111        {
     112            return false;
     113        }
     114
     115        //! Extracting the Pawn from the PlayerTrigger.
    116116        Pawn* pawn = trigger->getTriggeringPlayer();
    117117
     
    122122        }
    123123
    124         //! Extract the PlayerInfo from the ControllableEntity.
     124        //! Extract the PlayerInfo from the Pawn.
    125125        PlayerInfo* player = pawn->getPlayer();
    126126
Note: See TracChangeset for help on using the changeset viewer.