C# Class LifeSimulation.Races.SnakeRace.SnakeLifelet

The Snake Lifelet forms a chain with other lifelets of the same race, moving through the world like a snake. This class is meant as an example.
Inheritance: LifeSimulation.Core.Lifelet
显示文件 Open project: dankrusi/life-simulation-challenge

Public Methods

Method Description
Simulate ( ) : void
SnakeLifelet ( World world, Vector pos ) : System

Protected Methods

Method Description
debugDraw ( Graphics g ) : void

Method Details

Simulate() public method

public Simulate ( ) : void
return void

SnakeLifelet() public method

public SnakeLifelet ( World world, Vector pos ) : System
world LifeSimulation.Core.World
pos LifeSimulation.Core.Vector
return System

debugDraw() protected method

protected debugDraw ( Graphics g ) : void
g System.Drawing.Graphics
return void