WorldGraphicSettings
data class WorldGraphicSettings( val height: Int, val delay: Int, val lifespanCycles: Int? = null) : Component()fun burst(effect: GraphicDefinition, at: Tile4) { val graphic = WorldGraphic.create(effect.id, at.tile, height = 50, delay = 10) World.registerWorldGraphic(graphic) Logger.info("it starts after ${graphic.getComponent<WorldGraphicSettings>().delay} client cycles")}height
Section titled “height”val height: Intval delay: IntlifespanCycles
Section titled “lifespanCycles”val lifespanCycles: Int?