Debian Codegraph @

src/playeronestream.h

raw symbols SCIP
1 /***************************************************************************
2 playeronestream.h - description
3 -------------------
4 begin : Sat Sep 30 2000
5 copyright : (C) 2000 by Waldemar Baraldi
6 email : [email protected]
7 ***************************************************************************/
8
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18 #ifndef PLAYER_ONE_STREAM_H
19 #define PLAYER_ONE_STREAM_H
20
21 #include "eventstream.h"
22 #include "SDL.h"
23
24 class PlayerOneStream : public EventStream{
25
26 public:
27
28 PlayerOneStream(){
29 emt[0]=(struct EMT){SDLK_UP, UP};
30 emt[1]=(struct EMT){SDLK_DOWN, DOWN};
31 emt[2]=(struct EMT){SDLK_LEFT, LEFT};
32 emt[3]=(struct EMT){SDLK_RIGHT, RIGHT};
33 emt[4]=(struct EMT){SDLK_SPACE, HIT};
34 emt[5]=(struct EMT){SDLK_ESCAPE, BACK};
35 emt[6]=(struct EMT){SDLK_RETURN, GO};
36 npairs=7;
37 }
38 };
39 #endif
40