Mercurial > hg > Game > Cerium
view Renderer/Engine/Application.h @ 539:3bc98f6d31ff draft
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | |
children | 109a33b72b10 |
line wrap: on
line source
#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