view old/simple_render/trash/demonstration.cpp @ 915:ad10d6d39ca6

create_polygon_task ..not worked yet.
author yutaka@localhost.localdomain
date Fri, 23 Jul 2010 18:05:40 +0900
parents 735f76483bb2
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;
    }
}