/// <reference types="./phaser" />
import { Player } from "../entities/Player";
import { GameScene } from "./GameScene";
import { Sky } from "../entities/Sky";
import { CogFactory } from "../entities/Cog";
import { StarFactory } from "../entities/Star";
import { ShinyStarFactory } from "../entities/ShinyStar";
declare class PlayScene extends GameScene {
    player: Player | null;
    sky: Sky | null;
    ground: Phaser.GameObjects.TileSprite | null;
    obstacles: Phaser.Physics.Arcade.Group | null;
    stars: Phaser.Physics.Arcade.Group | null;
    shinyStars: Phaser.Physics.Arcade.Group | null;
    cogFactory: CogFactory;
    starFactory: StarFactory;
    shinyStarFactory: ShinyStarFactory;
    highScoreText: Phaser.GameObjects.Text | undefined;
    scoreText: Phaser.GameObjects.Text | undefined;
    gameOverText: Phaser.GameObjects.Image | undefined;
    restartText: Phaser.GameObjects.Image | undefined;
    gameOverContainer: Phaser.GameObjects.Container | undefined;
    score: number;
    scoreInterval: number;
    scoreDeltaTime: number;
    cogSpawnInterval: number;
    cogSpawnTime: number;
    starSpawnInterval: number;
    starSpawnTime: number;
    starShinyStarInterval: number;
    starShinyStarTime: number;
    gameSpeed: number;
    gameSpeedModifier: number;
    cursors: Phaser.Types.Input.Keyboard.CursorKeys | undefined;
    spaceKey: Phaser.Input.Keyboard.Key | undefined;
    isGameOverVisible: boolean;
    progressSound: Phaser.Sound.HTML5AudioSound | undefined;
    progressSoundShiny: Phaser.Sound.HTML5AudioSound | undefined;
    constructor();
    create(): Promise<void>;
    handleGroundPlayerCollision(): void;
    update(time: number, delta: number): void;
    createPlayer(): void;
    createSky(): void;
    createGround(): void;
    createObstacles(): void;
    createStars(): void;
    createShinyStars(): void;
    createGameoverContainer(): void;
    createScore(): void;
    spawnObstacle(): void;
    spawnStar(): void;
    spawnShinyStar(): void;
    handleGameStart(): void;
    handleGameRestartSetup(): void;
    handleGameRestart(): void;
    handleObstacleCollisions(): void;
    handleStarCollisions(): void;
    handleShinyStarCollisions(): void;
}
export default PlayScene;
