C# Class Terrarium.Game.NewOrganism

Contains the information needed to intialize a new organism within the Terrarium.
Datei anzeigen Open project: eugeniomiro/Terrarium Class Usage Examples

Public Methods

Method Description
NewOrganism ( OrganismBase.OrganismState state, byte dna ) : System

Creates a NewOrganism object intialized with the creature's state, some DNA information if available. The state object must be immutable for this to succeed.

Method Details

NewOrganism() public method

Creates a NewOrganism object intialized with the creature's state, some DNA information if available. The state object must be immutable for this to succeed.
public NewOrganism ( OrganismBase.OrganismState state, byte dna ) : System
state OrganismBase.OrganismState The state of the organism to be added.
dna byte The DNA the creature gets initialized with.
return System