Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
LifeSimulation
Core
Food
C# Class LifeSimulation.Core.Food
Piece of food containing energy.
Inheritance:
Obstacle
ファイルを表示
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