示例#1
0
 public static Engine getEngine()
 {
     if (engine == null)
         engine = new Engine();
     return engine;
 }
示例#2
0
 public static Engine getEngine()
 {
     if (engine == null)
     {
         engine = new Engine();
         engine.totalImmo = 0;
     }
     return engine;
 }