// vim:syntax=javascript

class LevelL extends Level
{
    function LevelL(
        parent_config : Object
    ) {
        var fills : /*Rectangle*/ Array = [
            new Rectangle (0, 1, 4, 1),
            new Rectangle (0, 2, 18, 6),
            new Rectangle (17, 13, 1, 1),
            new Rectangle (1, 9, 17, 4),
            new Rectangle (13, 8, 5, 1),
            makeDot(7, 8), makeDot(10, 8)
        ];
            
        var enemies : /*EnemyInit*/ Array = [
            new EnemyInit (new Point(220,20), Actor.DIR_LEFT, SpinyEnemy),
            new EnemyInit (new Point(360,100), Actor.DIR_UP, BombEnemyTopRight),
            new EnemyInit (new Point(100,160), Actor.DIR_LEFT, SpinyEnemy),
            new EnemyInit (new Point(160,160), Actor.DIR_RIGHT, BombEnemy)
        ];
        var guy_start = new Point(0, 0);
        var blasts_available = 3;
        var door = new Point(240, 160);

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