Closed ghost closed 9 years ago
Hi, cahman: It seems your removeAllEntities() missed something. I think it needs to be like this:
public function removeAllEntities():Void
{
while (!entityList.isEmpty())
{
removeEntity(entityList.first());
}
}
@nadako any news on this?
I think EntityList
is actually a lot better in performance than std.List<T>
as it involves much less memory allocations.
...haxe. Modified the engine to use List and deleted EntityList.hx
The EntityList class provided the same functionality as the standard haxe generic list, unless there was some optimization I missed?