source: cpp/frams/neuro/geneticneuroparam.cpp @ 343

Last change on this file since 343 was 286, checked in by Maciej Komosinski, 10 years ago

Updated headers

  • Property svn:eol-style set to native
File size: 600 bytes
RevLine 
[286]1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
[138]4
5#include "geneticneuroparam.h"
6#include <frams/neuro/neurolibrary.h>
7
8GeneticNeuroParam::GeneticNeuroParam(const char* groupname,const char* myname,
9                                   const char* prefix,const char* typ)
10        :NeuroLibParam(groupname,myname,prefix),types(typ)
11{}
12
[247]13paInt GeneticNeuroParam::getInt(int i)
[138]14{return Neuro::getClass(i)->genactive;}
15
[247]16int GeneticNeuroParam::setInt(int i,paInt v)
[138]17{Neuro::getClass(i)->genactive=v;return PSET_CHANGED;}
18
Note: See TracBrowser for help on using the repository browser.