Isle
Loading...
Searching...
No Matches
LegoPlantManager::AnimEntry Struct Reference

[AI] Structure for scheduling plant ROI/entity animations (i.e. More...

#include <legoplantmanager.h>

Collaboration diagram for LegoPlantManager::AnimEntry:

Public Attributes

LegoEntitym_entity
 [AI] Pointer to the plant entity being animated [AI] More...
 
LegoROIm_roi
 [AI] ROI of the animated plant entity [AI] More...
 
MxLong m_time
 [AI] When the animation should end (absolute time) [AI] More...
 

Detailed Description

[AI] Structure for scheduling plant ROI/entity animations (i.e.

"wobble" when interacted or animated growth).

Holds pointer to entity, corresponding ROI, and a target time value for when the animation should end.

[AI] Used for batching and sequencing per-plant animation via the tickle system; when the animation is due, performs the needed transformation/cleanup.

Definition at line 40 of file legoplantmanager.h.

Member Data Documentation

◆ m_entity

LegoEntity* LegoPlantManager::AnimEntry::m_entity

[AI] Pointer to the plant entity being animated [AI]

Definition at line 41 of file legoplantmanager.h.

◆ m_roi

LegoROI* LegoPlantManager::AnimEntry::m_roi

[AI] ROI of the animated plant entity [AI]

Definition at line 42 of file legoplantmanager.h.

◆ m_time

MxLong LegoPlantManager::AnimEntry::m_time

[AI] When the animation should end (absolute time) [AI]

Definition at line 43 of file legoplantmanager.h.


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