public bool CheckChanges() { DateTime levelChange = WindowsLevelsLoader.GetFileChangedTime("TestLevel"); if (levelChange != lastLevelChange) { lastLevelChange = levelChange; return(true); } return(false); }
public override void LoadNextLevel(int number) { nextLevel = new Level(number, new WindowsLevelsLoader().LoadInfo <LevelInfo>(), graphicsDevice, spriteBatch); lastLevelChange = WindowsLevelsLoader.GetFileChangedTime("TestLevel"); }