I want all the behaviours to be syncronized so that they all are called in one single main behaviour or so called “behaviour listener”.
Now I have multiple different behaviours such as animation, mouse handling, keyboard navigation and the behaviours occur as they wish.
Now I have all my behaviours the same style as j3D raw java suggested, but all the multiple “threads” (oops behaviours" don’t work as I want them to. They are all extending from behaviour and going downwards from that, however this is not the most ideal sollution.
Should I make one general behaviour that has all the behaviours in it or some sort of behaviour manager, which syncronizes the behaviours? In 2D it was best to have one thread that manages everything, would one behaviour be good that manages everything?
Is there any whitepaper about the internal processes on the behaviours that would explain what happens and where so that I could write my own behaviour system.
Writing everything in one behaviour class isn’t very good oop, but it would produce the best speed as I understand. Is there any middle ground? Do I have completely wrong picture about the behaviors?
Behaviour = Behavior.