Releases: sz-piotr/rook-ecs
Releases · sz-piotr/rook-ecs
TypeScript rewrite
Rewrite everything in TypeScript. Many API simplifications, and a start of the documentation.
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.0
v0.5.0
v0.4.0
Components are now created more easily
const PositionComponent = component('x', 'y')
The previous function was changed to complexComponent
:
const PeculiarComponent = complexComponent(
function(a) {
this.a = a + 1
},
function() {
console.log('destroyed')
}
)