add readme
This commit is contained in:
@@ -147,8 +147,8 @@ def get_new_avatar_from_ordinary(world: World, current_year: Year, name: str, ag
|
||||
birth_year = current_year - age.age
|
||||
birth_month = random.choice(list(Month))
|
||||
cultivation_progress = CultivationProgress(0)
|
||||
pos_x = random.randint(0, 100)
|
||||
pos_y = random.randint(0, 100)
|
||||
pos_x = random.randint(0, world.map.width)
|
||||
pos_y = random.randint(0, world.map.height)
|
||||
gender = random.choice(list(Gender))
|
||||
|
||||
return Avatar(
|
||||
|
||||
@@ -67,7 +67,6 @@ class Tile():
|
||||
class Map():
|
||||
"""
|
||||
通过dict记录position 到 tile。
|
||||
TODO: 有特色的地貌,比如西部大漠,东部平原,最东海洋和岛国。南边热带雨林,北边雪山和冰原。
|
||||
"""
|
||||
def __init__(self, width: int, height: int):
|
||||
self.tiles = {}
|
||||
|
||||
Reference in New Issue
Block a user