public void checkPlayerTileCollision(){
		//for(Tile blockTile : blockTiles){		
			player.setY(player.getY()-player.getDy());		// move from collision
			player.setX(player.getX()-player.getDx());		// move from collision

			player.setY(player.getY()+player.getDy());
			for(Tile t1 : blockTiles){
				if(player.getBounds().intersects(t1.getBounds())){
					player.setY(player.getY()-player.getDy());
				}
			}

			player.setX(player.getX()+player.getDx());
			for(Tile t2 : blockTiles){
				if(player.getBounds().intersects(t2.getBounds())){
					player.setX(player.getX()-player.getDx());
				}
			}
		//}
	}