fabio-t / alone-rl

A free to use, survival open-world roguelike game
GNU Affero General Public License v3.0
38 stars 2 forks source link

Add Aspect check to behaviours #3

Closed fabio-t closed 8 years ago

fabio-t commented 8 years ago

Each behaviour has a list of "necessary components". We should either make an initial if condition checking all necessary requirements, or (if possible) create an Aspect with the right composition and use it for quicker testing.

Also, I need to remove some component mappers from AISystem (they are not needed anymore).