I consulted with a coworker about something I want to implement in my project, and he told me about Robotlegs, it would be like this:
from a external data source (databse, xml, etc) I create objects that behave the way I need and more important, when I need, let me explain:
I got a unit, let say, a soldier, that listens to the event: "walk" and executes the method: "walkNormally". The database would have 2 records, one with the unit name: "Soldier" and other one with both fields, one the event, and the other one the method to execute when that event triggers.
Obviously, I got a lot more of pairs of events - methods that I need in order to get my soldier performing like a soldier, like shoot, run, die, etc.
Is Robotlegs capable of making this task?.
Thanks in advance.