create tile class