view TaskManager/Test/simple_pack/trash/demonstration.cpp @ 199:eb20274baa7c

add SceneGraph(ieshoot), add SystemSceneGraph(Camera)
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Mon, 26 Jan 2009 14:02:45 +0900
parents 0c8ae614d421
children
line wrap: on
line source

#include <iostream>
#include "polygon.h"
#include "xml.h"
#include "texture.h"
#include "demonstration.h"
#include "pad.h"
using namespace std;

Demonstration::Demonstration()
{
  action_demo = &Demonstration::test_play;
}

void Demonstration::test_play()
{
  list->draw();
  if(pad(RIGHT))
    {
      //action_demo = &Demonstration::test_end;
      action_demo = NULL;
    }
}