示例#1
0
    public CellMode AddMode()
    {
        CellMode mode = new CellMode(CurrentGenome.ModeCount);

        CurrentGenome.AddMode(mode);

        CallGenomeModeAdded(mode);
        return(mode);
    }
示例#2
0
    static Genome()
    {
        Genome genome = new Genome();

        genome.InitialModeIndex = 0;
        CellMode mode1 = new CellMode(0);

        genome.AddMode(mode1);
    }