view Magoroku.h @ 115:31dd5c07f7c1

class OBJECT:SceanGraph
author e085768
date Wed, 15 Jun 2011 23:31:59 +0900
parents 0c4b7d74e292
children 5219bf3d5e71
line wrap: on
line source

#ifndef INCLUDE_MAGOROKU_H
#define INCLUDE_MAGOROKU_H

#include "TaskManager.h"
#include "SceneGraph.h"
#include "Application.h"
#include "MainLoop.h"
#include "Func.h"

class Magoroku : public Application {
  bool app_loop(Viewer *viewer);
  HTaskPtr application_task(HTaskPtr next, Viewer* viewer);
  MainLoopPtr init(Viewer *viewer, int w, int h);
};

extern Viewer *droot;


typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h);
typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree);

#endif