Stardew Engine
Loading...
Searching...
No Matches
DynamicEntityListItem Struct Reference

Entities that are moving dynamically, we keep in a list so we can cull with brute force. The overhead of removing and inserting them from the quadtree every time they move is too much, while the quadtree remains a good option for static entities. More...

#include <Entity2DCollection.h>

Data Fields

HEntity2D hEnt
 
HDynamicEntityListItem hNext
 
HDynamicEntityListItem hPrev
 

Detailed Description

Entities that are moving dynamically, we keep in a list so we can cull with brute force. The overhead of removing and inserting them from the quadtree every time they move is too much, while the quadtree remains a good option for static entities.

Field Documentation

◆ hEnt

HEntity2D DynamicEntityListItem::hEnt

◆ hNext

HDynamicEntityListItem DynamicEntityListItem::hNext

◆ hPrev

HDynamicEntityListItem DynamicEntityListItem::hPrev

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