Saving and loading saves items in proper sorted order. Fixed bug with get inventory slot function. Connection point data is now static.
This commit is contained in:
@@ -1038,6 +1038,7 @@ namespace olc
|
||||
// to specify the primary screen
|
||||
void SetDrawTarget(Sprite* target);
|
||||
double GetRuntime() const;
|
||||
void SetRuntime(const double runTime);
|
||||
// Gets the current Frames Per Second
|
||||
uint32_t GetFPS() const;
|
||||
// Gets last update of elapsed time
|
||||
@@ -2195,6 +2196,10 @@ namespace olc
|
||||
double PixelGameEngine::GetRuntime() const
|
||||
{ return dRunTime; }
|
||||
|
||||
void PixelGameEngine::SetRuntime(const double runTime){
|
||||
dRunTime=runTime;
|
||||
}
|
||||
|
||||
uint32_t PixelGameEngine::GetFPS() const
|
||||
{ return nLastFPS; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user