C# 클래스 CellsAutomate.Creatures.Creature

상속: BaseCreature
파일 보기 프로젝트 열기: Confirmit/Students

공개 메소드들

메소드 설명
Creature ( Executor executor, ICommand commandsForGetDirection, ICommand commandsForGetAction ) : System

보호된 메소드들

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

메소드 상세

Creature() 공개 메소드

public Creature ( Executor executor, ICommand commandsForGetDirection, ICommand commandsForGetAction ) : System
executor Creatures.Language.Executors.Executor
commandsForGetDirection ICommand
commandsForGetAction ICommand
리턴 System

GetAction() 보호된 메소드

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

GetDirection() 보호된 메소드

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