Heyooo I want to incorporate a commandlist into robotlegs, the way i've done it now is to have a commandlist actor funnel out all the commands when not busy, but when the commands are executed robotlegs loses its' reference to the 'contextView'. Meaning i'm doing somehting wrong.
Has anyone any useful tips on CommandLists and Robotlegs? Because i assume it's been done countless times before.
How are you executing these commands?
Perhaps you were instantiating and executing them manually?
You should be using the commandMap to instantiate and execute them - this will ensure that their dependencies (like contextView etc) are supplied. For example:
Or (if your commands rely on events):
If you need access to the commandMap in your utility, you might need to inject it:
Hope that helps.