// This file is a part of the Framsticks GDK. // Copyright (C) 2002-2014 Maciej Komosinski and Szymon Ulatowski. See LICENSE.txt for details. // Refer to http://www.framsticks.com/ for further information. #include "geneticneuroparam.h" #include GeneticNeuroParam::GeneticNeuroParam(const char* groupname,const char* myname, const char* prefix,const char* typ) :NeuroLibParam(groupname,myname,prefix),types(typ) {} long GeneticNeuroParam::getInt(int i) {return Neuro::getClass(i)->genactive;} int GeneticNeuroParam::setInt(int i,long v) {Neuro::getClass(i)->genactive=v;return PSET_CHANGED;}