You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
535 B
16 lines
535 B
2 years ago
|
from .object import Object
|
||
|
|
||
|
class Raid(Object):
|
||
2 years ago
|
def __init__(self, name, number, level, location, start_time, end_time, country):
|
||
2 years ago
|
super().__init__()
|
||
2 years ago
|
self.name = name
|
||
|
self.number = number
|
||
|
self.level = level
|
||
|
self.location = location
|
||
|
self.start_time = start_time
|
||
|
self.end_time = end_time
|
||
|
self.country = country
|
||
|
|
||
|
def __repr__(self):
|
||
|
return f"(Raid: {self.name} - {self.level}-star - {self.location} - Start: {self.start_time} - End: {self.end_time})"
|
||
|
|