C# Class SuperImageEvolver.TranslateMutator

Inheritance: IMutator
Exibir arquivo Open project: fragmer/SuperImageEvolver

Public Methods

Method Description
IModule ( NBTag tag ) : void
Mutate ( Random rand, DNA oldDNA, TaskState task ) : DNA
ScaleShape ( Random rand, Shape shape, TaskState task ) : void

Private Methods

Method Description
ChangeColor ( Random rand, Shape shape, TaskState task ) : void
ICloneable ( ) : object
MoveShape ( Random rand, Shape shape, TaskState task ) : void
RotateShape ( Random rand, Shape shape ) : void

Method Details

IModule() public method

public IModule ( NBTag tag ) : void
tag NBTag
return void

Mutate() public method

public Mutate ( Random rand, DNA oldDNA, TaskState task ) : DNA
rand System.Random
oldDNA DNA
task TaskState
return DNA

ScaleShape() public method

public ScaleShape ( Random rand, Shape shape, TaskState task ) : void
rand System.Random
shape Shape
task TaskState
return void