C# Class CaveworldFlora.ClusterPlant_Gleamcap

ClusterPlant_Gleamcap class.
Inheritance: ClusterPlant
Datei anzeigen Open project: Rikiki123456789/Rimworld

Public Properties

Property Type Description
lastSporeSpawnTick int
sporeSpawner GleamcapSporeSpawner

Public Methods

Method Description
Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void

Destroy the plant and the associated glower if existing.

ExposeData ( ) : void

Save and load internal state variables (stored in savegame data).

TickLong ( ) : void

Main function: - perform the cluster plant normal treatment. - when mature, has a small chance to spawn a spore spawner.

TrySpawnSporeSpawner ( ) : void

Try to spawn some spores if the plant is mature.

Method Details

Destroy() public method

Destroy the plant and the associated glower if existing.
public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
mode DestroyMode
return void

ExposeData() public method

Save and load internal state variables (stored in savegame data).
public ExposeData ( ) : void
return void

TickLong() public method

Main function: - perform the cluster plant normal treatment. - when mature, has a small chance to spawn a spore spawner.
public TickLong ( ) : void
return void

TrySpawnSporeSpawner() public method

Try to spawn some spores if the plant is mature.
public TrySpawnSporeSpawner ( ) : void
return void

Property Details

lastSporeSpawnTick public_oe property

public int lastSporeSpawnTick
return int

sporeSpawner public_oe property

public GleamcapSporeSpawner,CaveworldFlora sporeSpawner
return GleamcapSporeSpawner