{ if(buffer[i] instanceof World) { world = (World)buffer[i]; break; } } // Clean objects buffer = null; } catch(Exception e) { // ERROR! System.out.println("Loading error!"); reportException(e); } }
/** Draws to screen */ private void draw(Graphics g) { // Envelop all in a try/catch block just in case try { // Move the camera around moveCamera(); // Get the Graphics3D context g3d = Graphics3D.getInstance(); // First bind the graphics object. We use our pre-defined rendering hints.
上一篇:使用Java蓝牙无线通讯技术API(第一部分 -API概览)(1)
下一篇:java多线程设计模式详解之四
|