giants-stupid-server/giants/map.py

12 lines
265 B
Python
Raw Normal View History

2019-01-22 01:30:42 +01:00
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