modified tile classes to add animation