"Lost treasure of mBedungu" 100 level puzzle game for RETRO
Dependencies: LCD_ST7735 RetroPlatform mbed
Game/LevelScreen.cpp@0:f5f961973d01, 2015-02-21 (annotated)
- Committer:
- Architect
- Date:
- Sat Feb 21 06:19:29 2015 +0000
- Revision:
- 0:f5f961973d01
- Child:
- 1:dcea5500a32d
Before switching to 16 colors
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Architect | 0:f5f961973d01 | 1 | #include "mbed.h" |
Architect | 0:f5f961973d01 | 2 | #include "LevelScreen.h" |
Architect | 0:f5f961973d01 | 3 | #include "Retro.h" |
Architect | 0:f5f961973d01 | 4 | //#include "font_OEM.h" |
Architect | 0:f5f961973d01 | 5 | #include "Sprites.h" |
Architect | 0:f5f961973d01 | 6 | |
Architect | 0:f5f961973d01 | 7 | extern Retro retro; |
Architect | 0:f5f961973d01 | 8 | |
Architect | 0:f5f961973d01 | 9 | LevelScreen::LevelScreen() |
Architect | 0:f5f961973d01 | 10 | { |
Architect | 0:f5f961973d01 | 11 | _state = 0; |
Architect | 0:f5f961973d01 | 12 | } |
Architect | 0:f5f961973d01 | 13 | |
Architect | 0:f5f961973d01 | 14 | Screen LevelScreen::Update() |
Architect | 0:f5f961973d01 | 15 | { |
Architect | 0:f5f961973d01 | 16 | if( _state == 0 ) |
Architect | 0:f5f961973d01 | 17 | ; |
Architect | 0:f5f961973d01 | 18 | |
Architect | 0:f5f961973d01 | 19 | |
Architect | 0:f5f961973d01 | 20 | return Level; |
Architect | 0:f5f961973d01 | 21 | } |