Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: PokittoLib
endgame.h
00001 #include <stdint.h> 00002 #include "Pokitto.h" 00003 #include "palette.h " 00004 #include "playgame.h" 00005 #ifndef ENDGAME_H 00006 #define ENDGAME_H 00007 00008 //Total colors 16 00009 00010 00011 00012 void endgame(){ 00013 //Pokitto::Display::load565Palette(titlegame_pal); 00014 if (Pokitto::Core::update()) { 00015 //Pokitto::Display::drawBitmap(0,0,title); 00016 Pokitto::Display::print(10,20,"YOU LIVED"); 00017 Pokitto::Display::print(10,40,"SEC"); 00018 Pokitto::Display::print(40,40,finalTime); 00019 Pokitto::Display::print(10,70,"Press B"); 00020 if(Pokitto::Buttons::bBtn()){ 00021 gameConditon = 0; // playgame 00022 } 00023 } 00024 } 00025 #endif
Generated on Tue Jul 12 2022 21:34:24 by
1.7.2