Class MicrobeManager
Inherited Members
Namespace: KaijuSolutions.Agents.Exercises.Microbes
Syntax
public class MicrobeManager : KaijuBehaviour
Properties
Cooldown
The time in seconds Microbes need to wait before they can KaijuSolutions.Agents.Exercises.Microbes.Microbe.Mate(KaijuSolutions.Agents.Exercises.Microbes.Microbe) again.
Declaration
public static float Cooldown { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Energy
Declaration
public static float Energy { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Instance
The singleton manager instance.
Declaration
public static MicrobeManager Instance { get; }
Property Value
| Type | Description |
|---|---|
| MicrobeManager |
MicrobePrefab
The prefab for the Microbes.
Declaration
public static KaijuAgent MicrobePrefab { get; }
Property Value
| Type | Description |
|---|---|
| KaijuAgent |
Methods
GetColor(UInt32)
Get the color for a species.
Declaration
public static Color GetColor(uint identifier)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | identifier | The species identifier. |
Returns
| Type | Description |
|---|---|
| Color | The identifier for the species. |