Example #1
0
    def __init__(self, owner: int, id: int, type: int, speedTurnsLeft: int, abilityCooldown: int, x: int, y: int, tour: int):
        self.owner = owner
        self.id = id
        self.type = type
        self.speedTurnsLeft = speedTurnsLeft
        self.abilityCooldown = abilityCooldown
        self.action = ''
        self.currentDestination = None

        # Type: int
        self.lastRoundSeen = tour 

        Point.__init__(self, x, y)
Example #2
0
 def __init__(self, points: int, x: int, y: int):
     self.points = points
     Point.__init__(self, x, y)