public GameContext(int maxGameStepsWithoutRender, int gameFPS = 60, int uxFPS = 60) { GameSeed = Luck.Reset(); GameFPS = gameFPS; UxFPS = uxFPS; GameTicks = TICKS_IN_A_SECOND / gameFPS; UxTicks = TICKS_IN_A_SECOND / uxFPS; MaxGameStepsWithoutRender = maxGameStepsWithoutRender; }
public void SetSeed(int seed) => GameSeed = Luck.Reset(seed);