a data structure for representing tiles on canvas