// vim:syntax=javascript

class LevelJ extends Level
{
    function LevelJ(
        parent_config : Object) {
        var fills : /*Rectangle*/ Array = [
            //new Rectangle (7,0,1,7),
            new Rectangle (0,0,8,7),
            new Rectangle (4,7,2,7),
            new Rectangle (17,0,1,7),
            new Rectangle (7,7,12,7)];
        var enemies: /*EnemyInit*/ Array = [
            new EnemyInit(new Point(120,180), Actor.DIR_DOWN, SpinyEnemy),
            new EnemyInit(new Point(160,0), Actor.DIR_RIGHT, BombEnemyClockwise),
            new EnemyInit(new Point(160,60), Actor.DIR_UP, BombEnemyClockwise),
            new EnemyInit(new Point(160,120), Actor.DIR_UP, BombEnemyClockwise),
            new EnemyInit(new Point(200,120), Actor.DIR_LEFT, BombEnemyClockwise)
        ];
        var guy_start = new Point(0,160);
        var blasts_available = 1;
        var door = new Point(360,60);

        super(parent_config, guy_start, blasts_available, fills, door, enemies);
    }
}
