view old/simple_pack/trash/demonstration.cpp @ 507:735f76483bb2

Reorganization..
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 09:39:35 +0900
parents TaskManager/Test/simple_pack/trash/demonstration.cpp@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;
    }
}