first commit
This commit is contained in:
37
include/engine/scene3d/scene_scripted_object.h
Normal file
37
include/engine/scene3d/scene_scripted_object.h
Normal file
@ -0,0 +1,37 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
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__
|
||||
Reference in New Issue
Block a user