C# Class CellsAutomate.Creatures.SimpleCreature

Inheritance: BaseCreature
Show file Open project: Confirmit/Students

Protected Methods

Method Description
GetAction ( Random random, bool hasOneBite, int energyPoints ) : ActionEnum
GetDirection ( FoodMatrix eatMatrix, Membrane creatures, Point position, Random random ) : DirectionEnum

Method Details

GetAction() protected method

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

GetDirection() protected method

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