Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2016, 4:53:24 PM (7 years ago)
Author:
kappenh
Message:

Able to save scores in ini. todo: save and retrieve pong score

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Highscore_HS16/src/modules/jump/Jump.cc

    r11071 r11313  
    3434#include "Jump.h"
    3535#include "core/CoreIncludes.h"
     36#include "Highscore.h"
    3637
    3738#include "JumpCenterpoint.h"
     
    311312        cleanup();
    312313        GSLevel::startMainMenu();
    313 
     314        orxout() << "Test Highscore" << endl;
     315        if (Highscore::exists()){
     316                    orxout() << "exists" << endl;
     317                   Highscore::getInstance().storeHighscore("player","jump",sectionNumber_ - 2);
     318          }
    314319        Deathmatch::end();
    315320    }
Note: See TracChangeset for help on using the changeset viewer.