| http://www.w3.org/ns/prov#value | - bsp;for (Animateable a : animationObjects) { a.updateAnimation(); } displayScreen.repaint()Even though the objects are very diverse, and do not share anything except the need to update once per game loop, they can all be handled in a single code block with just a couple lines.
|