comparison 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
comparison
equal deleted inserted replaced
506:1d4a8a86f26b 507:735f76483bb2
1 #include <iostream>
2 #include "polygon.h"
3 #include "xml.h"
4 #include "texture.h"
5 #include "demonstration.h"
6 #include "pad.h"
7 using namespace std;
8
9 Demonstration::Demonstration()
10 {
11 action_demo = &Demonstration::test_play;
12 }
13
14 void Demonstration::test_play()
15 {
16 list->draw();
17 if(pad(RIGHT))
18 {
19 //action_demo = &Demonstration::test_end;
20 action_demo = NULL;
21 }
22 }