prepared tile click handler for different tile types