public BoundaryView (BoundaryField.TYPE type,int x, int y) {
        BufferedImage img = null;
        try 
        {
            if(type == BoundaryField.TYPE.HORISONTAL)
                img = ImageIO.read(new File("src\\jark\\h_board.png"));
            else if (type == BoundaryField.TYPE.VERTICAL)
                img = ImageIO.read(new File("src\\jark\\v_board.png"));
            else
                img = ImageIO.read(new File("src\\jark\\i_board.png"));
            this._elementSprite = new Sprite(img, x, y);
        } 
        catch (IOException e) 
        {
            e.printStackTrace();
        }
    }