12 lines
265 B
Python
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
|