Rev 1 | Rev 3 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | tom | 1 | #ifndef SSSNAKESSS_H |
2 | #define SSSNAKESSS_H |
||
3 | |||
4 | class SSSNAKESSS |
||
5 | { |
||
6 | public: |
||
7 | SSSNAKESSS(); |
||
8 | ~SSSNAKESSS(); |
||
9 | |||
10 | bool init(); |
||
11 | bool initSDL(); |
||
12 | bool initOpenGL(); |
||
13 | void initData(); |
||
14 | |||
15 | void run(); |
||
2 | tom | 16 | void checkEvents(); |
17 | void update(); |
||
18 | void draw(); |
||
1 | tom | 19 | |
20 | void end(); |
||
21 | |||
22 | private: |
||
2 | tom | 23 | bool running; |
1 | tom | 24 | }; |
25 | |||
26 | #endif // SSSNAKESSS_H |