//===================================================================== INITIALIZE public GameScene(Window container, Mode mode) : base(container) { _mode = mode; _gravity = new Gravity(Container.FPS, _score.Level); _lockDelay = Container.FPS / 2; GenerateShape(); }
//===================================================================== INITIALIZE public HighScoreScene(Window container, Mode mode, int newLevel, int newScore) : base(container) { _mode = mode; LoadScores(); _newScore = new HighScore(_lastName, newLevel, newScore); AddScoreIfGreater(_newScore); _rectHighScore = new Rectangle((Container.Rectangle.Width - HIGH_SCORE_WIDTH) / 2, Game.MARGIN * 5, HIGH_SCORE_WIDTH, HIGH_SCORE_HEIGHT); }
//===================================================================== INITIALIZE public Scene(Window container) { Container = container; }