Antkeeper  0.0.1
Public Attributes | List of all members
pupa_component Struct Reference

Pupal development parameters. More...

#include <pupa-component.hpp>

Public Attributes

float development_period {}
 Duration of the development period, in days. More...
 
float development_phase {}
 Current development phase, on [0, 1]. More...
 
entity::id cocoon_eid {entt::null}
 ID of the cocoon entity. More...
 
std::shared_ptr< render::matvar_floatdecay_phase_matvar
 Material variable associated with the cocoon decay phase. More...
 

Detailed Description

Pupal development parameters.

Definition at line 29 of file pupa-component.hpp.

Member Data Documentation

◆ cocoon_eid

entity::id pupa_component::cocoon_eid {entt::null}

ID of the cocoon entity.

Definition at line 38 of file pupa-component.hpp.

◆ decay_phase_matvar

std::shared_ptr<render::matvar_float> pupa_component::decay_phase_matvar

Material variable associated with the cocoon decay phase.

Definition at line 41 of file pupa-component.hpp.

◆ development_period

float pupa_component::development_period {}

Duration of the development period, in days.

Definition at line 32 of file pupa-component.hpp.

◆ development_phase

float pupa_component::development_phase {}

Current development phase, on [0, 1].

Definition at line 35 of file pupa-component.hpp.


The documentation for this struct was generated from the following file: