#pragma once

#include "Mix/Tool/Win32/Core/Dynamics/Shape.h"

namespace Mix{ namespace Tool{ namespace Win32{ namespace Dynamics{

	class CompoundShape : public Mix::Tool::Win32::Dynamics::Shape
	{
	public:
		virtual ~CompoundShape( void ) {}

	public:
		virtual bool AddChild( Mix::Tool::Win32::Dynamics::Shape* pChild, const D3DXVECTOR3& centerPos, const D3DXQUATERNION& centerRot ) = 0;
		virtual bool RemoveChild( Mix::Tool::Win32::Dynamics::Shape* pChild ) = 0;

		virtual int GetChildCount( void ) const = 0;
		virtual const Mix::Tool::Win32::Dynamics::Shape* GetChildPtr( int index ) const = 0;

	public:
		MIX_OBJECT_TYPE( Mix::Tool::Win32::Object::DYNAMICS__COMPOUND_SHAPE, Mix::Tool::Win32::Dynamics::Shape )
	};

}}}}
