/*
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 */
package pacman;


/**
 *
 * @author akouznet
 */
public class Level {

    public String[] cells;
    public int slavik_positions[][];
    public int michalych_position[];

    public static class Level1 extends Level {

        public Level1() {
            cells = new String[]{
                "                ",
                " XX XXX XXXX XX ",
                " X            X ",
                " X XX XXX XXX X ",
                " X X   X    X X ",
                "   X X   XX   X ",
                " X   XX   X X   ",
                " X X    X   X X ",
                " X XXX XXX XX X ",
                " X            X ",
                " XX XXXX XXX XX ",
                "                ",};
            slavik_positions = new int[][]{
                {8, 6},
                {7, 6},
                {8, 5},
                {7, 5}
            };
            michalych_position = new int[]{0, 0};
        }
    }

    public static class Level2 extends Level {

        public Level2() {
            cells = new String[]{
                "                ",
                "   X X X X X  X ",
                " X X X     X XX ",
                " XXX X  X       ",
                " X X X     XX X ",
                "   X X X X X  X ",
                "                ",
                " XXX       X XX ",
                " X       X X  X ",
                " X  X XXXX X XX ",
                "    X X    X    ",
                "  XXX      X    ",};

            slavik_positions = new int[][]{
                {2, 8},
                {12, 8},
                {13, 8},
                {3, 10}
            };
            michalych_position = new int[]{0, 0};
        }
    }

    public static class Level3 extends Level {

        public Level3() {
            cells = new String[]{
                "XXXXXXX XXXXXXXX",
                "X     X X      X",
                "  XXX   X XXXX  ",
                "X X X X X  X   X",
                "X     X   XX X X",
                "XXXXXXX X      X",
                "X     X XXXXXXXX",
                "X X X X X      X",
                "  X X X   X XX X",
                "X X X X X XX X X",
                "X       X      X",
                "XXXXXXX XXXXXXXX",};
            slavik_positions = new int[][]{
                {13, 9},
                {1, 2},
                {3, 7},
                {3, 9}
            };
            michalych_position = new int[]{7, 1};
        }
    }
}
