Ash-Haxe
Ash-Haxe copied to clipboard
Port of Ash entity framework to Haxe
Added the copy method in ash/ClassMap
Implementing the clear() function now specified by IMap
This fixes the following case: ```haxe class RocketNode extends Node { public var logicRocket:game.logic.Rocket; public var displayRocket:game.display.Rocket; } ``` The class name was used without its full path so ending...
Checked https://lib.haxe.org/ and searched using the term 'ecs' and ash-haxe did not appear in the list of libraries. Please add 'ecs' tag to haxelib package.
This is better to avoid runtime type issues. This should closes a similar PR : #31
I was looking at the code for FixedTickProvider and it just outputs a signal every frame no matter what the time adjustment or frametimer says. I replaced the code from...
The method used to manually advance systemList.head and call system.removeFromEngine(), but removeSystem() already takes care of that. This eventually resulted in a null reference. The offending lines were removed, and...
Useful while debugging to detect if an entity that should have been removed is still in the engine, or if an active component is somehow still in the ComponentPool (maybe...
For test & example: ``` haxe function add(component:T, componentClass:Class = null) { add(""); add("", String); add({x:42}); add([42], Array); add(new ash.signals.Signal0(), ash.signals.SignalBase); add(new haxe.io.StringInput(""), haxe.io.StringInput); add(new haxe.io.StringInput(""), haxe.io.BytesInput); add(new haxe.io.StringInput(""), haxe.io.Input);...