Antkeeper  0.0.1
Namespaces
gene-loader.hpp File Reference
#include "game/ant/gene/monophenic-gene.hpp"
#include "game/ant/gene/polyphenic-gene.hpp"
#include <engine/resources/json.hpp>
#include <engine/resources/resource-manager.hpp>

Go to the source code of this file.

Namespaces

 ant
 
 ant::gene
 

Functions

template<class T >
void ant::gene::deserialize_gene (monophenic_gene< T > &gene, void(*deserialize_phene)(T &, const json &, resource_manager *), const json &gene_element, resource_manager *resource_manager)
 Deserializes a gene. More...
 
template<class T >
void ant::gene::deserialize_gene (polyphenic_gene< T > &gene, void(*deserialize_phene)(T &, const json &, resource_manager *), const json &gene_element, resource_manager *resource_manager)
 Deserializes a gene. More...