Mercurial > hg > Game > Cerium
diff Renderer/test_render/SceneGraphIterator.h @ 283:15bfacccde99 draft
fix test_render
author | e065746@localhost.localdomain |
---|---|
date | Fri, 05 Jun 2009 16:49:12 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Renderer/test_render/SceneGraphIterator.h Fri Jun 05 16:49:12 2009 +0900 @@ -0,0 +1,27 @@ +#ifndef INCLUDED_SCENE_GRAPH_ITERATOR +#define INCLUDED_SCENE_GRAPH_ITERATOR + +#ifndef INCLUDED_SCENE_GRAPH +# include "SceneGraph.h" +#endif + +class SceneGraphIterator { +public: + // 走査する SceneGraphList + SceneGraphPtr list; + + // 現在参照中の SceneGraph + SceneGraphPtr cur; + + void set(SceneGraphPtr list); + int hasNext(void); + int hasNext(int id); + void next(void); + void next(int id); + void remove(void); + SceneGraphPtr get(void); +}; + +typedef SceneGraphIterator *SceneGraphIteratorPtr; + +#endif