public Unit(float x,float y, float width, float height, boolean visible, float dx, float dy, unitType uT) {
		super(x, y, width, height, uT.locationMid, visible, dx, dy);
		try {
			texture = TextureLoader.getTexture("PNG", new FileInputStream(new File(uT.locationMid)));
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		this.uT = uT;
	}