@Override
	public void init(GameContainer gc, StateBasedGame arg1) throws SlickException {
		//changing resolution
		//AppGameContainer apgc = (AppGameContainer)gc;
		//apgc.setDisplayMode(482, 600, false);

		inGameMenu = new Image("res/inGameMenu.png");


		Image [] movementWarrior = {new Image("res/warrior.png"),new Image("res/warrior.png")};

		Image [] movementBothlo = {new Image("res/Bothlo.png"), new Image("res/Bothlo.png")};
		/*
        Image [] movementRogue = {new Image("res/rogue.png"), new Image("res/rogue.png")};
        Image [] movementCleric = {new Image("res/cleric.png"),new Image("res/cleric.png")};
		 */
		grassMap = new TiledMap("res/Starting room.tmx");
		int [] duration = {1, 1};

		upW = new Animation(movementWarrior, duration, false);

		upM = new Animation(movementBothlo, duration, false);
		/*
        upR = new Animation(movementRogue, duration,false );
        upC = new Animation(movementCleric, duration, false);
		 */
		leftW = new Animation(movementWarrior, duration, false);

		leftM = new Animation(movementBothlo, duration, false);
		/*
        leftR = new Animation(movementCleric, duration, false);     
        leftC = new Animation(movementCleric, duration, false);
		 */



		rightW = new Animation(movementWarrior, duration, false);

		rightM = new Animation(movementBothlo, duration, false);
		/*
        rightR = new Animation(movementRogue, duration, false);
        rightC = new Animation(movementCleric, duration, false);
		 */
		downW = new Animation(movementWarrior, duration, false);

		downM = new Animation(movementBothlo, duration, false);
		/*
        downR = new Animation(movementRogue, duration, false);
        downC = new Animation(movementCleric, duration, false);
		 */
		Warrior = downW;
		Bothlo = downM;
		/*
        Rogue = downR;

        Cleric = downC;
		 */
		warps = new boolean[grassMap.getWidth()][grassMap.getHeight()];
		traps = new boolean[grassMap.getWidth()][grassMap.getHeight()];

		String Layername = grassMap.getLayerProperty(1, "trap", "true");

		for (int xAxis=0;xAxis<grassMap.getWidth(); xAxis++)
		{
			for (int yAxis=0;yAxis<grassMap.getHeight(); yAxis++)
			{
				int tileID = grassMap.getTileId(xAxis, yAxis,1);
				if (tileID!= 0){
					traps[xAxis][yAxis] = true;

				}

			}
		}
		for (int xAxis=0;xAxis<grassMap.getWidth(); xAxis++)
		{
			for (int yAxis=0;yAxis<grassMap.getHeight(); yAxis++)
			{
				int tileID = grassMap.getTileId(xAxis, yAxis,2);
				if (tileID!= 0){
					warps[xAxis][yAxis] = true;

				}

			}
		}
		


	}