Mercurial > hg > Game > Cerium
view old/simple_pack/trash/demonstration.cpp @ 639:91d03774c407 draft
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | 3bc98f6d31ff |
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; } }