askToBuyConstruction
fun askToBuyConstruction(construction: INonPerpetualConstruction, stat: Stat = preferredBuyStat)
Content copied to clipboard
Ask whether user wants to buy construction for stat.
Used from onClick and keyboard dispatch, thus only minimal parameters are passed, and it needs to do all checks and the sound as appropriate.
Sources
jvm source
Link copied to clipboard