![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Early commits of my project
Dependencies: mbed Gamepad N5110
Sprites.h@6:6294bf4eafc8, 2019-03-13 (annotated)
- Committer:
- el17arm
- Date:
- Wed Mar 13 16:38:21 2019 +0000
- Revision:
- 6:6294bf4eafc8
implementing class but needs debugging
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el17arm | 6:6294bf4eafc8 | 1 | #ifndef SPRITES_H |
el17arm | 6:6294bf4eafc8 | 2 | #define SPRITES_H |
el17arm | 6:6294bf4eafc8 | 3 | |
el17arm | 6:6294bf4eafc8 | 4 | #include "mbed.h" |
el17arm | 6:6294bf4eafc8 | 5 | #include "N5110.h" |
el17arm | 6:6294bf4eafc8 | 6 | #include "Gamepad.h" |
el17arm | 6:6294bf4eafc8 | 7 | #include "main.h" |
el17arm | 6:6294bf4eafc8 | 8 | |
el17arm | 6:6294bf4eafc8 | 9 | class Sprites |
el17arm | 6:6294bf4eafc8 | 10 | { |
el17arm | 6:6294bf4eafc8 | 11 | |
el17arm | 6:6294bf4eafc8 | 12 | public: |
el17arm | 6:6294bf4eafc8 | 13 | |
el17arm | 6:6294bf4eafc8 | 14 | Sprites(); |
el17arm | 6:6294bf4eafc8 | 15 | ~Sprites(); |
el17arm | 6:6294bf4eafc8 | 16 | void miner_move(int x_direction, int y_direction); |
el17arm | 6:6294bf4eafc8 | 17 | |
el17arm | 6:6294bf4eafc8 | 18 | private: |
el17arm | 6:6294bf4eafc8 | 19 | |
el17arm | 6:6294bf4eafc8 | 20 | int x_direction; |
el17arm | 6:6294bf4eafc8 | 21 | int y_direction; |
el17arm | 6:6294bf4eafc8 | 22 | }; |
el17arm | 6:6294bf4eafc8 | 23 | #endif |