/* -----------------------------------------------------------------------------
	GSFramework
	Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */


#ifndef	__NSCENESCRIPTEDOBJECT__
#define	__NSCENESCRIPTEDOBJECT__


		#include "script/scripted_object.h"


namespace GS {
	namespace S3D {
		class Scene;

/*!
	@short	Scene scripted object.
	@author	Emmanuel Julien (ejulien@nworks.fr)
*/
class	SceneScriptedObject : public Script::ScriptedObject
{
		Scene		*scene;

public:

virtual	Script::Unit *NewUnit() const;

		SceneScriptedObject(Script::IVM *vm, Scene *s) : Script::ScriptedObject(vm), scene(s) {}
};

	} // S3D
} // GS


#endif	// __NSCENESCRIPTEDOBJECT__
