123456789101112131415161718192021222324 |
- class tile():
-
- def __init__(self,graphic,move,hurt,special='None'):
-
- self.graphic = graphic
- self.move = move
- self.hurt = hurt
- self.special = special
-
- tile_list = {}
- tile_list['#'] = tile('wall',False,False)
- tile_list['.'] = tile('floor',True,False)
- tile_list['+'] = tile('fence',False,False)
- tile_list['d'] = tile('door',False,False,'door')
- tile_list['k'] = tile('key',True,False,'key')
- tile_list['^'] = tile('thorn',True,True)
- tile_list['h'] = tile('heart',True,False,'heart')
- tile_list['*'] = tile('gem',True,False,'gem')
- tile_list['c'] = tile('checkpoint_passiv',True,False,'cp_passiv')
- tile_list['C'] = tile('checkpoint_activ',True,False,'cp_activ')
- tile_list['t'] = tile('teleport',True,False)
- tile_list['A'] = tile('amulett',True,False)
- tile_list['~'] = tile('wall',True,False)#hidden wall
|