Пример #1
0
 def SetCaveItem(self, item: Item, location: Location) -> None:
     assert location.IsCavePosition()
     self.overworld_caves[location.GetCaveNum()].SetItemAtPosition(
         item, location.GetPositionNum())
Пример #2
0
 def SetCavePrice(self, price: int, location: Location) -> None:
     assert location.IsCavePosition()
     self.overworld_caves[location.GetCaveNum()].SetPriceAtPosition(
         price, location.GetPositionNum())
Пример #3
0
 def GetCaveItem(self, location: Location) -> Item:
     assert location.IsCavePosition()
     return self.overworld_caves[location.GetCaveNum()].GetItemAtPosition(
         location.GetPositionNum())