示例#1
0
 // start: 15 - Singleton
 public static Comisaria getInstance()
 {
     if (unicaComisaria == null)
     {
         unicaComisaria = new Comisaria();
     }
     return(unicaComisaria);
 }
示例#2
0
 public ICuartel crearCuartel()
 {
     return(Comisaria.getInstance());
 }