Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/Application.h @ 507:735f76483bb2
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | |
children | 97e1b0346597 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Renderer/Engine/Application.h Mon Oct 12 09:39:35 2009 +0900 @@ -0,0 +1,27 @@ +#ifndef INCLUDED_APPLICATION +#define INCLUDED_APPLICATION + +#include "SceneGraph.h" + +typedef void (*move_func)(SceneGraph* node, int screen_w, int screen_h); +typedef void (*coll_func)(SceneGraph* node, int screen_w, int screen_h, SceneGraphPtr tree); + +class Application { +public: + Application(); + virtual ~Application(); + + void *propertyPtr; + int property_size; + int move_task_id_; + + int move_task_id(); + void set_move_func(move_func move); + void set_coll_func(coll_func coll); + SceneGraphPtr scenegraph_factory(void *p, int size); + SceneGraphPtr scenegraph_connector(void *p, int size, SceneGraphPtr s, SceneGraphPtr sg_available_list); + virtual void init(TaskManager *manager, int w, int h) ; + +}; + +#endif