C# 클래스 Terrarium.Game.NewOrganism

Contains the information needed to intialize a new organism within the Terrarium.
파일 보기 프로젝트 열기: eugeniomiro/Terrarium 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

NewOrganism() 공개 메소드

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.
리턴 System