C# Class CellsAutomate.Matrix

Show file Open project: Confirmit/Students Class Usage Examples

Public Properties

Property Type Description
EXCEPTIONS int
Height int
Length int

Public Methods

Method Description
FillStartMatrixRandomly ( ) : void
MakeTurn ( ) : void
Matrix ( int length, int height, Creator creator, IFoodDistributionStrategy strategy ) : System

Private Methods

Method Description
FillMatrixWithFood ( ) : void
MakeTurn ( Membrane currentCreature ) : void
MakeTurnDie ( Point position ) : void
MakeTurnGo ( DirectionEnum direction, Membrane creature ) : void
MakeTurnMakeChild ( DirectionEnum direction, Membrane creature ) : void

Method Details

FillStartMatrixRandomly() public method

public FillStartMatrixRandomly ( ) : void
return void

MakeTurn() public method

public MakeTurn ( ) : void
return void

Matrix() public method

public Matrix ( int length, int height, Creator creator, IFoodDistributionStrategy strategy ) : System
length int
height int
creator Creator
strategy IFoodDistributionStrategy
return System

Property Details

EXCEPTIONS public static property

public static int EXCEPTIONS
return int

Height public property

public int Height
return int

Length public property

public int Length
return int