class Order(object): def __init__(self, game): self.game = game game.idOrder += 1 self.id = game.idOrder