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

Causes an entity to decay, deleting the entity when the decay is complete. More...

#include <decay-component.hpp>

Public Attributes

float rate {}
 Decay rate. More...
 
float progress {}
 Decay progress, on [0, 1]. More...
 

Detailed Description

Causes an entity to decay, deleting the entity when the decay is complete.

Definition at line 26 of file decay-component.hpp.

Member Data Documentation

◆ progress

float decay_component::progress {}

Decay progress, on [0, 1].

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

◆ rate

float decay_component::rate {}

Decay rate.

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


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