class FloorItem: def __init__(self, obj_id, item_type, amount, x, y): self.id = obj_id self.type = item_type self.amount = amount self.x = x self.y = y