eliasku / ecx

ECX is Entity Component System framework for Haxe
52 stars 10 forks source link

Creating a world fails #1

Closed Misiur closed 8 years ago

Misiur commented 8 years ago

var world = Engine.initialize(1).createWorld(new WorldConfig());
Misiur commented 8 years ago

Ok, it seems adding a system helps

var config = new WorldConfig();
config.add(new RenderSystem());
var world = Engine.initialize(1).createWorld(config, 0x800);
eliasku commented 8 years ago

This assert was removed in 0.0.3. Now it will allow to create world without systems.