private void init(final int width, final int height) {
initTileSetList();
currentLayer = 1;
currentBloc = tilesetList.get(0).getSubimage(0, 0, GeneralConstant.BLOC_WIDTH, GeneralConstant.BLOC_HEIGHT);
guiModel.setLeftPanel(new MapPanel(this), new Dimension(width * GeneralConstant.BLOC_WIDTH, height * GeneralConstant.BLOC_HEIGHT));
guiModel.setRightPanel(new ListTileSetScreen(this));
if (config == null) {
config = new MapConfig();
}