Mercurial > hg > Members > kono > Cerium
view old/simple_pack/trash/demonstration.cpp @ 841:2432c7fe291c
dynamic loading demo bug fix
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 02 Jun 2010 01:39:15 +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; } }