private void updatePositions(CanvasRenderingContext2D canvas)
{
ScreenOffset.X = 0;
ScreenOffset.Y = 0;
if (CurrentGameState == GameState.Playing) updatePositionsForPlaying(canvas);
/* if (WindowLocation.X < 0) WindowLocation.X = 0;
if (WindowLocation.X > 128 * SonicLevel.LevelWidth - WindowLocation.Width)
WindowLocation.X = 128 * SonicLevel.LevelWidth - WindowLocation.Width;*/
}