- Timestamp:
- Jun 26, 2006, 4:56:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/generic_npc.cc
r8802 r8805 123 123 { 124 124 125 }126 127 128 /**129 * walt to130 * @param coordinate: coordinate to go to131 */132 float GenericNPC::walkTo(const Vector& coordinate, const Quaternion& dir)133 {134 135 return true;136 125 } 137 126 … … 183 172 { 184 173 return this->walkTo(x, y, 0.0f, qu, qx, qy, qz); 174 } 175 176 177 /** 178 * walk to a specific place with direction 179 * 180 * @param coor: vector place 181 * @param dir: direction 182 * 183 */ 184 float GenericNPC::walkTo(const Vector& coor, const Quaternion& dir) 185 { 186 return this->walkTo(coor.x, coor.y, coor.z, dir.w, dir.v.x, dir.v.y, dir.v.z); 185 187 } 186 188
Note: See TracChangeset
for help on using the changeset viewer.