Changeset 627 for code/branches/FICN/src/orxonox/objects/NPC.h
- Timestamp:
- Dec 18, 2007, 10:11:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/NPC.h
r619 r627 9 9 10 10 // includes 11 #include "WorldEntity.h"12 11 #include "Model.h" 13 12 … … 20 19 NPC(); 21 20 virtual ~NPC(); 21 virtual void loadParams(TiXmlElement* xmlElem); 22 22 void tick(float dt); 23 23 void update(); … … 25 25 26 26 private: 27 float getDistance( NPC* temp);28 void calculateAcceleration( NPC** arrayOfElements);29 Vector3 separation( NPC** arrayOfElements);30 Vector3 alignment( NPC** arrayOfElements);31 Vector3 cohesion( NPC** arrayOfElements);27 float getDistance(WorldEntity* temp); 28 void calculateAcceleration(); 29 Vector3 separation(); 30 Vector3 alignment(); 31 Vector3 cohesion(); 32 32 33 33
Note: See TracChangeset
for help on using the changeset viewer.