class TradeController : Controller
<init> |
TradeController() |
buy |
fun buy(selectedItem: Ort_has_Ware, menge: Int): Unit
Attempts to buy the selected item in the given quantity |
sell |
fun sell(selectedItem: Schiff_has_Ware, menge: Int): Unit
Attempts to sell the selected item in the given quantity |
travel |
fun travel(nach: Ort): Unit
Changing of the Ort requires the current User to pay. If he doesn't want to or can't the change is reverted. |
valueOf |
fun Any?.valueOf(): String |