Mercurial > hg > Game > Cerium
comparison Renderer/Engine/SceneGraphIterator.h @ 539:3bc98f6d31ff draft
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | Renderer/test_render/SceneGraphIterator.h@15bfacccde99 |
children |
comparison
equal
deleted
inserted
replaced
538:5641d121818e | 539:3bc98f6d31ff |
---|---|
1 #ifndef INCLUDED_SCENE_GRAPH_ITERATOR | |
2 #define INCLUDED_SCENE_GRAPH_ITERATOR | |
3 | |
4 #include "SceneGraph.h" | |
5 | |
6 class SceneGraphIterator { | |
7 public: | |
8 // 走査する SceneGraphList | |
9 SceneGraphPtr list; | |
10 | |
11 // 現在参照中の SceneGraph | |
12 SceneGraphPtr cur; | |
13 | |
14 void set(SceneGraphPtr list); | |
15 int hasNext(void); | |
16 int hasNext(int id); | |
17 int hasNextGroup(int id); | |
18 void next(void); | |
19 void next(int id); | |
20 void nextGroup(int id); | |
21 void remove(void); | |
22 SceneGraphPtr get(void); | |
23 }; | |
24 | |
25 typedef SceneGraphIterator *SceneGraphIteratorPtr; | |
26 | |
27 #endif |