Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 27, 2006, 1:36:44 AM (18 years ago)
Author:
patrick
Message:

ncp comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/npcs/generic_npc.cc

    r8818 r8819  
    394394
    395395
    396   /* some oriantation functions */
     396/**
     397 * lookat a world entity
     398 * @param worldEntity: the worldentity to look at
     399 */
    397400float GenericNPC::lookAt(WorldEntity* worldEntity)
    398401{}
    399402
    400403
    401   /* talking funcitons*/
     404/**
     405 * talk to a world entity and play a sound/music/voice
     406 * @param worldEntity: entity
     407 * @param dialogNr: sound nr to be played (from the xml load tags)
     408 */
    402409float GenericNPC::talkTo(WorldEntity* worldEntity, int dialogNr)
    403410{}
    404411
    405   /* shooting functions */
     412
     413/**
     414 * world entity to shoot at if there is any weapon on the npc
     415 * @param entity: entity to shoot entity
     416 */
    406417void GenericNPC::shootAt(WorldEntity* entity)
    407418{}
Note: See TracChangeset for help on using the changeset viewer.