C# Class LifeSimulation.Core.Food

Piece of food containing energy.
Inheritance: Obstacle
Afficher le fichier Open project: dankrusi/life-simulation-challenge Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( Graphics g ) : void
Food ( World world, Vector pos, double energy ) : System
Simulate ( ) : void

Method Details

Draw() public méthode

public Draw ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

Food() public méthode

public Food ( World world, Vector pos, double energy ) : System
world World
pos Vector
energy double
Résultat System

Simulate() public méthode

public Simulate ( ) : void
Résultat void