run method
Creates a gameloop that provides callback to help continously tick
the Engine.
Implementation
void run(RunnerCallback dtCallback) {
_dtCallback = dtCallback;
_ticker?.dispose();
_ticker = Ticker(_tick);
_ticker!.start();
}
Creates a gameloop that provides callback to help continously tick
the Engine.
void run(RunnerCallback dtCallback) {
_dtCallback = dtCallback;
_ticker?.dispose();
_ticker = Ticker(_tick);
_ticker!.start();
}