mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
13 lines
229 B
C++
13 lines
229 B
C++
#include "Simulator.h"
|
|
|
|
MainFunction mainFunction = nullptr;
|
|
|
|
void setMainForSim(MainFunction newMainFunction) {
|
|
mainFunction = newMainFunction;
|
|
}
|
|
|
|
void executeMainFunction() {
|
|
assert(mainFunction);
|
|
mainFunction();
|
|
}
|