Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9566 | turbocat | 1 | #ifndef BAT_H |
2 | #define BAT_H |
||
3 | |||
4 | typedef struct { |
||
5 | int id; |
||
6 | double x, y; |
||
7 | int xstart, ystart; |
||
8 | int type; //0 = gray | 1 = red |
||
9 | int dir; |
||
10 | double imageIndex; |
||
11 | int counter, timer, state; |
||
12 | } Bat; |
||
13 | |||
14 | void createBat(int x, int y, int type); |
||
15 | |||
16 | #endif |