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
Afficher le fichier Open project: dankrusi/life-simulation-challenge

Méthodes publiques

Méthode Description
Simulate ( ) : void
SnakeLifelet ( World world, Vector pos ) : System

Méthodes protégées

Méthode Description
debugDraw ( Graphics g ) : void

Method Details

Simulate() public méthode

public Simulate ( ) : void
Résultat void

SnakeLifelet() public méthode

public SnakeLifelet ( World world, Vector pos ) : System
world LifeSimulation.Core.World
pos LifeSimulation.Core.Vector
Résultat System

debugDraw() protected méthode

protected debugDraw ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void