Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/playability/src/world_entities/npcs/npc.cc @ 9991

Last change on this file since 9991 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 867 bytes
Line 
1
2
3/*
4   orxonox - the future of 3D-vertical-scrollers
5
6   Copyright (C) 2004 orx
7
8   This program is free software; you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation; either version 2, or (at your option)
11   any later version.
12
13   ### File Specific:
14   main-programmer: Patrick Boenzli
15   co-programmer:
16*/
17#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
18
19
20#include "npc.h"
21
22ObjectListDefinition(NPC);
23
24NPC::NPC(const TiXmlElement* root)
25{
26  this->registerObject(this, NPC::_objectList);
27
28  this->toList(OM_GROUP_00);
29
30}
31
32
33NPC::~NPC () {}
34
35
36
37/**
38 * adds an AI to this NPC
39 */
40void NPC::addAI(AI* ai)
41{}
42
43
44
45/**
46 * loads the xml tags
47 * @param root: root xml tag for this element
48 */
49void NPC::loadParams(const TiXmlElement* root)
50{
51   WorldEntity::loadParams(root);
52}
53
Note: See TracBrowser for help on using the repository browser.