giants-stupid-server/giants/map.py
2019-01-22 01:30:42 +01:00

12 lines
265 B
Python

class Map:
def __init__(self, mapname="Unknown mapname"):
self.mapname = mapname
self.checksum = None
def load_map(self, mapname):
self.checksum = Map.checksum(mapname)
@staticmethod
def checksum(mapname):
return 1