So I create my world with
where floorTile is a variable with an image assigned to it. How can I check for example if a player is tsabnding on a certain image or is next to once so he can;t walk through walls?
getBackground().drawImage(floorTile, 64*j, 64*i);