Say I have a method A that calls two other methods B, and C that both generate dozens of spatials and nodes at once - just once, and I call the that by taking several integer inputs from a server message.
Taking this as reference: http://wiki.jmonkeyengine.org/doku.php/jme3:advanced:multithreading
Can I just encapsulate those integer inputs inside a “Data” class, and return that with ‘future.get()’?
Sorry about how absolutely retarded this question is, I think this is the right way to do it - but I’ve been looking at the tutorial and following it step by step for a few days and still haven’t gotten it working.
Thanks in advance guys!