view Renderer/Engine/Application.h @ 882:1cb89ec2e796 draft

SceneGraphRoot::set_move_task add.
author tkaito
date Mon, 12 Jul 2010 04:02:14 +0900
parents ae881bd43459
children a9581a9df440
line wrap: on
line source

#ifndef INCLUDED_APPLICATION
#define INCLUDED_APPLICATION

#include "SceneGraph.h"
#include "MainLoop.h"
#include "viewer.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 Viewer;

class Application {
public:
    Application();
    virtual ~Application();
    
    virtual MainLoopPtr init(Viewer *viewer, int w, int h)  = 0;
};

#endif