articulated_obstacle.h 427 Bytes
Newer Older
pitiot's avatar
merging  
pitiot committed
1 2 3 4 5 6 7 8 9
#ifndef M_ARTICULATED_OBSTACLE_H
#define M_ARTICULATED_OBSTACLE_H

#include "moving_obstacle.h"
using namespace std;

class ArticulatedObstacle
{
public:
pitiot's avatar
pitiot committed
10
	ArticulatedObstacle(Simulator* sim, int index, int currentIndex, std::vector<PFP::VEC3> * pos, int nbParts, std::vector<VEC3> goals, int curGoal =0);
pitiot's avatar
merging  
pitiot committed
11 12 13 14 15 16 17 18 19

	std::vector<MovingObstacle *> members;
	int index;
	int nbBodyPart;
	std::vector<VEC3> goals;
	VEC3 curGoal;
};

#endif