Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/Application.h @ 427:b48df6332eb8
add Application.{cc, h}
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 17:44:09 +0900 |
parents | |
children | e8f2eed4042a |
line wrap: on
line source
#ifndef INCLUDED_APPLICATION #define INCLUDED_APPLICATION typedef void (*move_func)(SceneGraph* node, int screen_w, int screen_h); typedef void (*coll_func)(SceneGraph* node, int screen_w, int screen_h); class Application { public: Application(); ~Application(); void* propertyPtr; void set_move_func(move_func move); void set_coll_func(coll_func coll); SceneGraphPtr scenegraph_factory(PropertyPtr p); SceneGraphPtr scenegraph_connector(PropertyPtr p,SceneGraphPtr s); move_func move; coll_func coll; }; typedef Application *Application; #endif