C# 클래스 Terrarium.Game.KilledOrganism

파일 보기 프로젝트 열기: eugeniomiro/Terrarium 1 사용 예제들

공개 메소드들

메소드 설명
KilledOrganism ( OrganismBase.OrganismState state ) : System

Creates a new KilledOrganism based on information in an OrganismState.

KilledOrganism ( string id, PopulationChangeReason reason ) : System

Creates a new KilledOrganism based on ID and reason for death.

KilledOrganism ( string id, PopulationChangeReason reason, string extraInformation ) : System

Creates a new KilledOrganism based on the ID, the reason for death, and any extra information that can be used when the organism is removed.

메소드 상세

KilledOrganism() 공개 메소드

Creates a new KilledOrganism based on information in an OrganismState.
public KilledOrganism ( OrganismBase.OrganismState state ) : System
state OrganismBase.OrganismState The state object that ID and death reason will be pulled from.
리턴 System

KilledOrganism() 공개 메소드

Creates a new KilledOrganism based on ID and reason for death.
public KilledOrganism ( string id, PopulationChangeReason reason ) : System
id string The Unique ID of the organism.
reason PopulationChangeReason The reason the organism was killed.
리턴 System

KilledOrganism() 공개 메소드

Creates a new KilledOrganism based on the ID, the reason for death, and any extra information that can be used when the organism is removed.
public KilledOrganism ( string id, PopulationChangeReason reason, string extraInformation ) : System
id string The Unique ID of the organism.
reason PopulationChangeReason The reason the organism was killed.
extraInformation string Extra information about the death.
리턴 System