C# Class CellsAutomate.Creatures.BaseCreature

Afficher le fichier Open project: Confirmit/Students Class Usage Examples

Méthodes publiques

Méthode Description
MyTurn ( FoodMatrix eatMatrix, Membrane creatures, Point position, Random random, bool hasOneBite, int energyPoints ) : DirectionEnum>.Tuple

Méthodes protégées

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

Method Details

GetAction() protected abstract méthode

protected abstract GetAction ( Random random, bool hasOneBite, int energyPoints ) : ActionEnum
random System.Random
hasOneBite bool
energyPoints int
Résultat ActionEnum

GetDirection() protected abstract méthode

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

MyTurn() public méthode

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
Résultat DirectionEnum>.Tuple