public Tile(int x, int y, int tilesize, Sprite sprite){
		this.x = x;
		this.y = y;
		this.dX = 0;
		this.dY = 0;
		this.dir = 1;
		this.tilesize = tilesize;
		this.sprite = sprite;
		this.crect = new Rectangle(x,y,tilesize,tilesize);
		if (sprite != null) {
			this.id = sprite.getId();
			if (this.id > 0 && this.id <= 20) {
				solid = true;
				moveable = false;
			}
			if (this.id > 60 && this.id <= 80) {
				solid = true;
				moveable = true;
			}
		} else {
			solid = false;
			moveable = false;
		}
	}