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

#include <ovary-component.hpp>

Public Attributes

std::uint16_t egg_capacity {}
 Maximum number of concurrent eggs. More...
 
std::uint16_t egg_count {}
 Number of fully-developed eggs. More...
 
float egg_production_duration {}
 Duration required to produce an egg, in seconds. More...
 
float elapsed_egg_production_time {}
 Elapsed time the current egg has been in production, in seconds. More...
 
float oviposition_duration {}
 Duration required to lay an egg, in seconds. More...
 
float elapsed_oviposition_time {}
 Elapsed time the current egg has been traveling down the common oviduct, in seconds. More...
 
bool ovipositing {}
 true if currently ovipositing an egg, false otherwise. More...
 
bone_index_type ovipositor_bone {}
 Bone of the ovipositor. More...
 
geom::line_segment< float, 3 > oviposition_path {}
 Path along which eggs travel while being oviposited, relative to the ovipositor bone. More...
 
entity::id ovipositor_egg_eid {entt::null}
 Entity ID of the egg currently in the ovipositor (if any). More...
 

Detailed Description

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

Member Data Documentation

◆ egg_capacity

std::uint16_t ovary_component::egg_capacity {}

Maximum number of concurrent eggs.

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

◆ egg_count

std::uint16_t ovary_component::egg_count {}

Number of fully-developed eggs.

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

◆ egg_production_duration

float ovary_component::egg_production_duration {}

Duration required to produce an egg, in seconds.

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

◆ elapsed_egg_production_time

float ovary_component::elapsed_egg_production_time {}

Elapsed time the current egg has been in production, in seconds.

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

◆ elapsed_oviposition_time

float ovary_component::elapsed_oviposition_time {}

Elapsed time the current egg has been traveling down the common oviduct, in seconds.

Definition at line 50 of file ovary-component.hpp.

◆ ovipositing

bool ovary_component::ovipositing {}

true if currently ovipositing an egg, false otherwise.

Definition at line 53 of file ovary-component.hpp.

◆ oviposition_duration

float ovary_component::oviposition_duration {}

Duration required to lay an egg, in seconds.

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

◆ oviposition_path

geom::line_segment<float, 3> ovary_component::oviposition_path {}

Path along which eggs travel while being oviposited, relative to the ovipositor bone.

Definition at line 59 of file ovary-component.hpp.

◆ ovipositor_bone

bone_index_type ovary_component::ovipositor_bone {}

Bone of the ovipositor.

Definition at line 56 of file ovary-component.hpp.

◆ ovipositor_egg_eid

entity::id ovary_component::ovipositor_egg_eid {entt::null}

Entity ID of the egg currently in the ovipositor (if any).

Definition at line 62 of file ovary-component.hpp.


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