@ash.ts/tools
This package contains various tools for use with Ash - an entity component system framework for game development.
Instalation
Using npm:
npm i @ash.ts/tools
Using yarn:
yarn add @ash.ts/tools
Usage
ListIteratingSystem
Utility class declared as abstract class with updateNode
method marked as required. There are also 2 optional callback
methods that can be declared in an inherited class:
protected nodeAdded?:(node:Node) => void;
protected nodeRemoved?:(node:Node) => void;
Example usage:
;;
ComponentPool
TBD