20 #ifndef ANTKEEPER_GAME_ANT_GENE_HPP
21 #define ANTKEEPER_GAME_ANT_GENE_HPP
26 #include <unordered_map>
ant_gene_type
Ant gene types.
Abstract base class for ant genes.
hash::fnv1a32_t name
32-bit FNV-1a hash of gene name.
virtual constexpr ant_gene_type type() const noexcept=0
Returns the ant gene type.
Ant gene with caste-specific phenes.
std::vector< T > phenes
Phene definitions.
std::unordered_map< ant_caste_type, T * > phene_map
Map of ant caste types to phenes.