KotlinTrader / com.doubleu.kotlintrader.controller / MasterController

MasterController

class MasterController : Controller

Constructors

<init> MasterController()

Functions

nextStep fun nextStep(): Unit

Progresses the game to the next round by recalcing availability and prices. Ships are being unblocked.

resetGame fun resetGame(): Unit

Resets all Entities that are currently loaded

trigEvent fun trigEvent(): Unit

Triggers an event that randomly blocks 20% of the ships

Extension Functions

valueOf fun Any?.valueOf(): String