/* -*- C++ -*-
* group.h
* $Id: group.h,v 1.2 2000/07/21 22:31:44 ghali Exp $
*/
#ifndef GROUP_H
#define GROUP_H
#include <vector>
#include "node.h"
#include "../other/event.h"
namespace MSG {
class ActiveLight;
class Group : public Node {
protected:
std::vector<Node*> children;
public:
Group();
virtual ~Group();
virtual void addChild(Node* n);
virtual void render(std::vector<ActiveLight*>* &activelights,
std::vector<TransformGroup*> transforms);
virtual bool handleEvent(Event* event); // true = event was handled
};
}
#endif