X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fgene.h;fp=src%2Fgene.h;h=499ca80643a9f5a428ae167321fa5d2089af67ac;hb=a590537eb07fb1e7b6c4ad6fe2434f3b21d11e9d;hp=ddd8c7124c2c051d5555baeb01b1fb9e2e25ccac;hpb=9ae7c021c43d6bdeae13bb2e8a4418e517679e01;p=genetic.git diff --git a/src/gene.h b/src/gene.h index ddd8c71..499ca80 100644 --- a/src/gene.h +++ b/src/gene.h @@ -6,14 +6,14 @@ namespace genetic { template < typename Type > class Gene { protected: - Type type; + Type fenotype; public: - Gene(Type type) { - this->type = type; + Gene(Type fenotype) { + this->fenotype = fenotype; } Type get() { - return this->type; + return this->fenotype; } }; }