Hi This my first little game in Pokitto. Im a fresh in C++ So, Wishing your advise!!!!!

Dependencies:   PokittoLib

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers endgame.h Source File

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