Struct DynamicEntityListItem

ClassList > DynamicEntityListItem

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.

  • #include <Entity2DCollection.h>

Public Attributes

Type Name
HEntity2D hEnt
HDynamicEntityListItem hNext
HDynamicEntityListItem hPrev

Public Attributes Documentation

variable hEnt

HEntity2D DynamicEntityListItem::hEnt;

variable hNext

HDynamicEntityListItem DynamicEntityListItem::hNext;

variable hPrev

HDynamicEntityListItem DynamicEntityListItem::hPrev;


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/include/Entity2DCollection.h