tile base class