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

Dependencies:   PokittoLib

lost_main.cpp

Committer:
79859899
Date:
2018-03-22
Revision:
2:7af6d9415495
Parent:
0:eff664bec7e0

File content as of revision 2:7af6d9415495:

#include "Pokitto.h"
#include "playgame.h"
#include "titlegame.h"
#include "endgame.h"
Pokitto::Core game;

int main () {
    game.begin();


    while (game.isRunning()) {
        if(gameConditon == 0){
            oldTime = game.getTime();
            titlegame();
        }
        if(gameConditon == 1){
            playgame();
        }
        if(gameConditon == 2){
            endgame();
        }



            //game.display.print(0,0,game.getTime()/1000);
            //game.display.print(20,0,vbullet.size());

    }
return 1;
}