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

Larval development parameters. More...

#include <larva-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...
 
float spinning_period {}
 Duration of the cocoon-spinning period, in days. More...
 
float spinning_phase {}
 Current phase of the cocoon-spinning, on [0, 1]. More...
 
entity::id cocoon_eid {entt::null}
 ID of the cocoon entity. More...
 
std::shared_ptr< render::matvar_floatspinning_phase_matvar
 Material variable associated with the cocoon-spinning phase. More...
 

Detailed Description

Larval development parameters.

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

Member Data Documentation

◆ cocoon_eid

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

ID of the cocoon entity.

Definition at line 44 of file larva-component.hpp.

◆ development_period

float larva_component::development_period {}

Duration of the development period, in days.

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

◆ development_phase

float larva_component::development_phase {}

Current development phase, on [0, 1].

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

◆ spinning_period

float larva_component::spinning_period {}

Duration of the cocoon-spinning period, in days.

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

◆ spinning_phase

float larva_component::spinning_phase {}

Current phase of the cocoon-spinning, on [0, 1].

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

◆ spinning_phase_matvar

std::shared_ptr<render::matvar_float> larva_component::spinning_phase_matvar

Material variable associated with the cocoon-spinning phase.

Definition at line 47 of file larva-component.hpp.


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