C# Класс Terrarium.Game.PlantSpecies

Наследование: Species, IPlantSpecies
Показать файл Открыть проект

Открытые методы

Метод Описание
GetAttributeWarnings ( ) : string

Retrieves attribute warnings. The Plant class implements no warnings and so delegates to the base class for warnings.

InitializeNewState ( Point position, int generation ) : OrganismBase.OrganismState

Initializes a new state object with the given position and family generation

PlantSpecies ( Type clrType ) : System

Creates a new species object from a CLR Type by pulling information off of the type's attributes.

Описание методов

GetAttributeWarnings() публичный Метод

Retrieves attribute warnings. The Plant class implements no warnings and so delegates to the base class for warnings.
public GetAttributeWarnings ( ) : string
Результат string

InitializeNewState() публичный Метод

Initializes a new state object with the given position and family generation
public InitializeNewState ( Point position, int generation ) : OrganismBase.OrganismState
position Point The position of the new PlantState
generation int The family generation of the new Plant
Результат OrganismBase.OrganismState

PlantSpecies() публичный Метод

Creates a new species object from a CLR Type by pulling information off of the type's attributes.
public PlantSpecies ( Type clrType ) : System
clrType System.Type The Type representing the Plant class.
Результат System