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:
2024-01-01 07:49:07 -06:00
parent 0d6ab94fda
commit ad1e2260cf
24 changed files with 271 additions and 406 deletions
+5
View File
@@ -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; }