/**************************************************************************************************************************************
///																																  ///
///		FICHIER :	ZooNode.cpp																									  ///
///																																  ///
///		NATURE	:	Defines the base class of the  node of the 3D scene															  ///
///																																  ///
****************************************************************************************************************************************/


#ifndef __ZOONODE_H__
#define __ZOONODE_H__

#include	<stdlib.h>
#include	<stdio.h>

#include	<string>
using		std::string;

#include	"..\Datas\ZooData.h"
/********************************************************************************************
/// ZNode Class
///
///		- Node Class -Derivate for ZObject, ZLight,ZBone......
///		- Method for the hierarchy of the scene
///		- PRS ( Position,Rotation,Scale of an object of the scene
****************************************************************************************************************************************/

class ZNode : public ZData
{
public:

	ZNode		*next;
	ZNode		*prev;
	ZNode		*father;
	ZNode		*son;

	float posX,posY,posZ,rotX,rotY,rotZ,scale ;
	ZNode();
	virtual ~ZNode()	{	/* nothing */	}
	bool InsertAsChildOf(ZNode* nodeFather);
	bool InsertAsLastOf(ZNode* nodeFather);
	bool isBone ;
};


#endif