private static DoorTable _doorTable; public void openAllDoors() { _doorTable = DoorTable.getInstance(); for(L2DoorInstance door : _doorTable.getDoors()) { door.openMe(); } }