Thanks for your feedback! Basically when the player or the enemies want to attack they check if something is on the tile if yes they can attack.