Move controller creation to System class, switch shared_ptr to unique_ptr

This commit is contained in:
Connor McLaughlin
2019-12-14 23:20:24 +10:00
parent 5fd421860a
commit ea0845d5ad
14 changed files with 56 additions and 47 deletions

View File

@ -60,9 +60,6 @@ protected:
float duration;
};
/// Connects controllers. TODO: Clean this up later...
virtual void ConnectControllers();
/// Throttles the system, i.e. sleeps until it's time to execute the next frame.
void Throttle();