An adaptation of XNA for the Java platform