Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
LifeSimulation
Core
Food
C# Class LifeSimulation.Core.Food
Piece of food containing energy.
Inheritance:
Obstacle
Exibir arquivo
Open project: dankrusi/life-simulation-challenge
Class Usage Examples
Public Methods
Method
Description
Draw
(
Graphics
g
) :
void
Food
(
World
world
,
Vector
pos
,
double
energy
) :
System
Simulate
( ) :
void
Method Details
Draw()
public
method
public
Draw
(
Graphics
g
) :
void
g
System.Drawing.Graphics
return
void
Food()
public
method
public
Food
(
World
world
,
Vector
pos
,
double
energy
) :
System
world
World
pos
Vector
energy
double
return
System
Simulate()
public
method
public
Simulate
( ) :
void
return
void