jwfwessels / AFK

Automated Battle Ground.
MIT License
1 stars 1 forks source link

refactor entity management into Entity Component System #10

Closed jwfwessels closed 11 years ago

jwfwessels commented 11 years ago

after doing some research into entity management it seems that within game development circles there is a trend towards Entity Component Systems (ECS).

This is a move away from deeper and deeper class hierarchies (inheritance) in favour of methods where entities are represented by the composition of components.

Pros:

I believe that this refactor will result in a much more flexible entity creation system. and allow us to more easily actuate future requirements

References:

danini-the-panini commented 11 years ago

Sounds good. Would like to see a diagram as to how the system would integrate into the current AFK system.

jwfwessels commented 11 years ago

Cool, I'll do a diagram tomorrow after I've gone through all the literature again.

danini-the-panini commented 11 years ago

This has been implemented in master.