class Tile: def __init__(self, a, b, x, y): self.ground = a self.object = b self.x = x self.y = y self.h = 0