C# 클래스 CellsAutomate.Matrix

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

공개 프로퍼티들

프로퍼티 타입 설명
EXCEPTIONS int
Height int
Length int

공개 메소드들

메소드 설명
FillStartMatrixRandomly ( ) : void
MakeTurn ( ) : void
Matrix ( int length, int height, Creator creator, IFoodDistributionStrategy strategy ) : System

비공개 메소드들

메소드 설명
FillMatrixWithFood ( ) : void
MakeTurn ( Membrane currentCreature ) : void
MakeTurnDie ( Point position ) : void
MakeTurnGo ( DirectionEnum direction, Membrane creature ) : void
MakeTurnMakeChild ( DirectionEnum direction, Membrane creature ) : void

메소드 상세

FillStartMatrixRandomly() 공개 메소드

public FillStartMatrixRandomly ( ) : void
리턴 void

MakeTurn() 공개 메소드

public MakeTurn ( ) : void
리턴 void

Matrix() 공개 메소드

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

프로퍼티 상세

EXCEPTIONS 공개적으로 정적으로 프로퍼티

public static int EXCEPTIONS
리턴 int

Height 공개적으로 프로퍼티

public int Height
리턴 int

Length 공개적으로 프로퍼티

public int Length
리턴 int