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


#ifndef	__NUISCENESCRIPTEDOBJECT__
#define	__NUISCENESCRIPTEDOBJECT__


		#include "script/scripted_object.h"


namespace GS {
	namespace S2D {
		class Scene;

/*!
	@short	UI 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) {}
};

	} // S2D
} // GS


#endif	// __NUISCENESCRIPTEDOBJECT__
