![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Ikenna Adrian Ozoemena 201157039
Dependencies: mbed
Diff: Menu/Menu.cpp
- Revision:
- 34:6d0786582d81
- Parent:
- 30:711d722f3cef
- Child:
- 42:ee13e1d103d8
- Child:
- 44:a6a361bea806
--- a/Menu/Menu.cpp Sat Apr 20 14:10:47 2019 +0000 +++ b/Menu/Menu.cpp Tue Apr 30 05:03:15 2019 +0000 @@ -313,7 +313,9 @@ // Print start lcd.printString("Play ",2,2); - lcd.printString("Menu ",2,3); + lcd.printString("Ship ",2,3); + lcd.printString("Menu",2,4); + if(shipno == 0) { lcd.drawSprite(45,1,44,37,(int *)kestrel); @@ -334,6 +336,7 @@ // the values for _d which are updated in read_input in the RosenEngine function are never called lcd.drawRect(0,_ycursor-1,26,9,FILL_TRANSPARENT); + } void Menu::update(Direction d) @@ -347,8 +350,8 @@ if(_ycursor < 16) { _ycursor = 16; } - if(_ycursor > 24) { - _ycursor = 24; + if(_ycursor > 32) { + _ycursor = 32; } if (d == W) {