Antkeeper  0.0.1
genome.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Christopher J. Howard
3  *
4  * This file is part of Antkeeper source code.
5  *
6  * Antkeeper source code is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * Antkeeper source code is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Antkeeper source code. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef ANTKEEPER_GAME_ANT_GENOME_HPP
21 #define ANTKEEPER_GAME_ANT_GENOME_HPP
22 
25 #include "game/ant/gene/cocoon.hpp"
26 #include "game/ant/gene/diet.hpp"
27 #include "game/ant/gene/egg.hpp"
28 #include "game/ant/gene/eyes.hpp"
31 #include "game/ant/gene/gaster.hpp"
32 #include "game/ant/gene/head.hpp"
33 #include "game/ant/gene/larva.hpp"
34 #include "game/ant/gene/legs.hpp"
38 #include "game/ant/gene/ocelli.hpp"
42 #include "game/ant/gene/sting.hpp"
43 #include "game/ant/gene/waist.hpp"
44 #include "game/ant/gene/wings.hpp"
45 
46 namespace ant {
47 
51 struct genome
52 {
54  genome();
55 
59  const gene::diet* diet;
60  const gene::egg* egg;
61  const gene::eyes* eyes;
65  const gene::head* head;
67  const gene::legs* legs;
78 };
79 
80 } // namespace ant
81 
82 #endif // ANTKEEPER_GAME_ANT_GENOME_HPP
Definition: caste.hpp:25
Gene with a single phene.
Gene with caste-specific phenes.
Complete set of ant genes.
Definition: genome.hpp:52
const gene::nest_site * nest_site
Definition: genome.hpp:70
genome()
Constructs an empty genome.
Definition: genome.cpp:24
const gene::egg * egg
Definition: genome.hpp:60
const gene::founding_mode * founding_mode
Definition: genome.hpp:63
const gene::sculpturing * sculpturing
Definition: genome.hpp:74
const gene::gaster * gaster
Definition: genome.hpp:64
const gene::legs * legs
Definition: genome.hpp:67
const gene::larva * larva
Definition: genome.hpp:66
const gene::sting * sting
Definition: genome.hpp:75
const gene::head * head
Definition: genome.hpp:65
const gene::body_size * body_size
Definition: genome.hpp:57
const gene::ocelli * ocelli
Definition: genome.hpp:71
const gene::mesosoma * mesosoma
Definition: genome.hpp:69
const gene::cocoon * cocoon
Definition: genome.hpp:58
const gene::diet * diet
Definition: genome.hpp:59
const gene::eyes * eyes
Definition: genome.hpp:61
const gene::waist * waist
Definition: genome.hpp:76
const gene::pigmentation * pigmentation
Definition: genome.hpp:72
const gene::mandibles * mandibles
Definition: genome.hpp:68
const gene::pilosity * pilosity
Definition: genome.hpp:73
const gene::antennae * antennae
Definition: genome.hpp:56
const gene::wings * wings
Definition: genome.hpp:77
const gene::foraging_time * foraging_time
Definition: genome.hpp:62