C# 클래스 CellsAutomate.Creatures.BaseCreature

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

공개 메소드들

메소드 설명
MyTurn ( FoodMatrix eatMatrix, Membrane creatures, Point position, Random random, bool hasOneBite, int energyPoints ) : DirectionEnum>.Tuple

보호된 메소드들

메소드 설명
GetAction ( Random random, bool hasOneBite, int energyPoints ) : ActionEnum
GetDirection ( FoodMatrix eatMatrix, Membrane creatures, Point position, Random random ) : DirectionEnum

메소드 상세

GetAction() 보호된 추상적인 메소드

protected abstract GetAction ( Random random, bool hasOneBite, int energyPoints ) : ActionEnum
random System.Random
hasOneBite bool
energyPoints int
리턴 ActionEnum

GetDirection() 보호된 추상적인 메소드

protected abstract GetDirection ( FoodMatrix eatMatrix, Membrane creatures, Point position, Random random ) : DirectionEnum
eatMatrix CellsAutomate.Food.FoodMatrix
creatures Membrane
position Point
random System.Random
리턴 DirectionEnum

MyTurn() 공개 메소드

public MyTurn ( FoodMatrix eatMatrix, Membrane creatures, Point position, Random random, bool hasOneBite, int energyPoints ) : DirectionEnum>.Tuple
eatMatrix CellsAutomate.Food.FoodMatrix
creatures Membrane
position Point
random System.Random
hasOneBite bool
energyPoints int
리턴 DirectionEnum>.Tuple