C# 클래스 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.
상속: LifeSimulation.Core.Lifelet
파일 보기 프로젝트 열기: dankrusi/life-simulation-challenge

공개 메소드들

메소드 설명
Simulate ( ) : void
SnakeLifelet ( World world, Vector pos ) : System

보호된 메소드들

메소드 설명
debugDraw ( Graphics g ) : void

메소드 상세

Simulate() 공개 메소드

public Simulate ( ) : void
리턴 void

SnakeLifelet() 공개 메소드

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

debugDraw() 보호된 메소드

protected debugDraw ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void