Controller questions

Regarding controllers I've some design questions:

  • how about a Spatial.removeAllControllers() method?
  • if there is an Spatial.removeController(int index) method, shouldn't be there something like a getControllerCount() method?
  • how about returning List<Controller> instead of ArrayList from Spatial.getControllers() ?
  • what happened with these ideas: http://www.jmonkeyengine.com/jmeforum/index.php?topic=607.0  ?

Easy enough, I'll check in the first three locally.  The last one is more complicated and I'll ignore it for now.  :wink:

Done locally.  added clearControllers(), getControllerCount() and changed the return type of getControllers() to ArrayList<Controller>.

Thank you!



:smiley: