UNPKG

bp-prism-game

Version:
177 lines (176 loc) 2.74 kB
/** * The Game board * 1 - Blank * 2 - Trees * 3 - Rocks * 4 - Water * 5 - Grass * 6 - Slime * 7 - Lava * 8 - Main Gunner * 9 - Alien Base * 10 - Prism Base * 11 - Score * 12 - High Score * 13 - Level * 14 - Prism Blast icon * 15 - Bridge * 16 - Path */ export declare const GAMEBOARD: number[][]; /** * The Game Boards */ export declare const GAMEBOARDS: number[][][]; /** * Block Size */ export declare const BLOCK_SIZE = 5; /** * Columns */ export declare const COLS: number; /** * Rows */ export declare const ROWS: number; /** * The Level Waves */ export declare class LEVELWAVES { /** * Level 0 Wave */ static readonly 0 = 1; /** * Level 1 Wave */ static readonly 1 = 1; /** * Level 2 Wave */ static readonly 2 = 2; /** * Level 3 Wave */ static readonly 3 = 3; /** * Level 4 Wave */ static readonly 4 = 4; /** * Level 5 Wave */ static readonly 5 = 5; /** * Level 6 Wave */ static readonly 6 = 6; /** * Level 7 Wave */ static readonly 7 = 7; } /** * The Level Speed */ export declare class LEVELSPEED { /** * Level 0 Speed */ static readonly 0 = 500; /** * Level 1 Speed */ static readonly 1 = 450; /** * Level 2 Speed */ static readonly 2 = 400; /** * Level 3 Speed */ static readonly 3 = 375; /** * Level 4 Speed */ static readonly 4 = 350; /** * Level 5 Speed */ static readonly 5 = 325; /** * Level 6 Speed */ static readonly 6 = 300; /** * Level 7 Speed */ static readonly 7 = 275; } /** * The Level Creep */ export declare class LEVELCREEP { /** * Level 0 Creep */ static readonly 0 = 5; /** * Level 1 Creep */ static readonly 1 = 10; /** * Level 2 Creep */ static readonly 2 = 15; /** * Level 3 Creep */ static readonly 3 = 20; /** * Level 4 Creep */ static readonly 4 = 25; /** * Level 5 Creep */ static readonly 5 = 30; /** * Level 6 Creep */ static readonly 6 = 40; /** * Level 7 Creep */ static readonly 7 = 50; } /** * The keys */ export declare class KEY { /** * Space */ static readonly SPACE = "Space"; /** * Left */ static readonly LEFT = "ArrowLeft"; /** * Right */ static readonly RIGHT = "ArrowRight"; /** * KeyP */ static readonly P = "KeyP"; /** * Down */ static readonly DOWN = "ArrowDown"; /** * up */ static readonly UP = "ArrowUp"; }