templetonm / Troglodytes

3 stars 0 forks source link

Particle system should use a component mapper #39

Closed ghost closed 12 years ago

ghost commented 12 years ago

Currently: entity.getComponent(ParticleComponent.class)

It should be like this: positionMapper = new ComponentMapper(Position.class, world); positionMapper.get(entity);

sikrob commented 12 years ago

I'll be fixing this momentarily; I'll also be adding the Renderable component usage for the map particle system stuff. Previously it depended on RenderType, but while that was effectively removed, Renderable was never added to replace it.

sikrob commented 12 years ago

Issue solved in branch issue39. Merge with development when convenient.