Exemplo n.º 1
0
 def SetCaveItem(self, item: Item, location: Location) -> None:
     assert location.IsCavePosition()
     self.overworld_caves[location.GetCaveNum()].SetItemAtPosition(
         item, location.GetPositionNum())
Exemplo n.º 2
0
 def SetCavePrice(self, price: int, location: Location) -> None:
     assert location.IsCavePosition()
     self.overworld_caves[location.GetCaveNum()].SetPriceAtPosition(
         price, location.GetPositionNum())
Exemplo n.º 3
0
 def GetCaveItem(self, location: Location) -> Item:
     assert location.IsCavePosition()
     return self.overworld_caves[location.GetCaveNum()].GetItemAtPosition(
         location.GetPositionNum())