You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ebermergen-td/server/ebermergen/models/entities.py

27 lines
539 B
Python

5 years ago
from .auto_id import AutoID
class Town(AutoID):
def __init__(self, player, coords):
super().__init__()
self.player = player
self.coords = coords
self.level = 1
class Tower(AutoID):
def __init__(self, player, coords):
super().__init__()
self.player = player
self.coords = coords
self.level = 1
class Mob(AutoID):
def __init__(self, player, coords):
super().__init__()
self.player = player
self.coords = coords
self.level = 1