Changeset 8783 in orxonox.OLD for trunk/src/world_entities/npcs
- Timestamp:
- Jun 26, 2006, 2:00:31 PM (19 years ago)
- Location:
- trunk/src/world_entities/npcs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/generic_npc.cc
r8724 r8783 125 125 * @param coordinate: coordinate to go to 126 126 */ 127 bool GenericNPC::walkTo(const Vector& coordinate, float time)127 float GenericNPC::walkTo(const Vector& coordinate, const Quaternion& dir) 128 128 { 129 129 … … 136 136 * @param coordinate: coordinate to go to 137 137 */ 138 bool GenericNPC::walkTo(float x, float y, float z, float time)138 float GenericNPC::walkTo(float x, float y, float z, float qu, float qx, float qy, float qz) 139 139 { 140 140 -
trunk/src/world_entities/npcs/generic_npc.h
r8724 r8783 38 38 void playSound(int i); 39 39 40 bool walkTo(const Vector& coordinate, float time); 41 bool walkTo(float x, float y, float z, float time); 40 float walkTo(const Vector& coordinate, const Quaternion& dir); 41 float walkTo(float x, float y, float z, float qu, float qx, float qy, float qz); 42 float walkTo(float x, float y, float qu, float qx, float qy, float qz); 43 44 float runTo(const Vector& coordinate, const Quaternion& dir); 45 float runTo(float x, float y, float z, float qu, float qx, float qy, float qz); 46 float runTo(float x, float y, float qu, float qx, float qy, float qz); 47 48 float crouchTo(const Vector& coordinate, const Quaternion& dir); 49 float crouchTo(float x, float y, float z, float qu, float qx, float qy, float qz); 50 float crouchTo(float x, float y, float qu, float qx, float qy, float qz); 51 42 52 43 53 void destroy();
Note: See TracChangeset
for help on using the changeset viewer.