An amateur gameengine in Java