BarbarianManager

class BarbarianManager

Functions

campAttacked
Link copied to clipboard
fun campAttacked(position: Vector2)

Called when an encampment was attacked, will speed up time to next spawn

clone
Link copied to clipboard
fun clone(): BarbarianManager
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
notifyCivsOfBarbarianEncampment
Link copied to clipboard
private fun notifyCivsOfBarbarianEncampment(tile: TileInfo)

Add a notification to every civilization that have adopted Honor policy and have explored the tile where the Barbarian Encampment has spawned.

placeBarbarianEncampment
Link copied to clipboard
fun placeBarbarianEncampment()
setTransients
Link copied to clipboard
fun setTransients(gameInfo: GameInfo)
toString
Link copied to clipboard
open fun toString(): String
updateEncampments
Link copied to clipboard
fun updateEncampments()

Properties

camps
Link copied to clipboard
val camps: HashMap<Vector2, Encampment>
gameInfo
Link copied to clipboard
lateinit var gameInfo: GameInfo
tileMap
Link copied to clipboard
lateinit var tileMap: TileMap

Sources

jvm source
Link copied to clipboard