public Char(String name, main main, float x, float y, int screenHeight, int screenWidth) {
		this.name = name;
		this.x = x;
		this.y = y;
		this.screenHeight = screenHeight;
		this.screenWidth = screenWidth;
		map = main.terrain.rects;
		genX = main.terrain.xGen;
		genY = main.terrain.yGen;
		blockSize = main.terrain.grid;
		causeOfDeath = "";
		
		try {
			ss = new SpriteSheet("src/Assets/HumanWalkCaucasian.png", 32, 64);
		} catch (SlickException e) {
			e.printStackTrace();
		}

		try {
			ss2 = new SpriteSheet("src/Assets/HumanWalkCaucasianFlip.png", 32, 64);
		} catch (SlickException e) {
			e.printStackTrace();
		}

		walkingRightAnimation = new Animation(ss, 100);
		walkingLeftAnimation = new Animation(ss2, 100);
		
		playerBoundingRect = new Rectangle(x,y, 26, 56);
		playerHitBox = new Rectangle(x,y,1,1);
		playerInv = new Inventory();
		mapY = -336 / 2;
	}