diff TaskManager/Test/test_render/SceneGraphRoot.h @ 201:9484318b3e8f draft

add SceneGraphIterator
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Mon, 26 Jan 2009 16:46:59 +0900
parents 1fd0107ebb25
children 335ea3665fcd
line wrap: on
line diff
--- a/TaskManager/Test/test_render/SceneGraphRoot.h	Mon Jan 26 14:27:45 2009 +0900
+++ b/TaskManager/Test/test_render/SceneGraphRoot.h	Mon Jan 26 16:46:59 2009 +0900
@@ -9,6 +9,10 @@
 #  include "Camera.h"
 #endif
 
+#ifndef INCLUDED_SCENE_GRAPH_ITERATOR
+#  include "SceneGraphIterator.h"
+#endif
+
 class SceneGraphRoot {
 public:
     /* Constructor, Destructor */
@@ -34,14 +38,20 @@
     // カメラオブジェクト
     Camera *camera;
 
+    // SceneGraphIterator
+    SceneGraphIteratorPtr iterator;
+
     /**
      * Functions
      */
     /* User API */
     void createFromXMLfile(const char *);
     SceneGraphPtr createSceneGraph(int id);
+    SceneGraphPtr createSceneGraph(void);
     void setSceneData(SceneGraphPtr sg);
     Pad *getController(void);
+    SceneGraphIteratorPtr getIterator(void);
+    SceneGraphIteratorPtr getIterator(SceneGraphPtr list);
 
     /* Other System API */
     void allExecute(int screen_w, int screen_h);