BioModule currentBioModule = (BioModule) (sensors[i]);
BioModule currentBioModule = (sensors[i]);
    private void tick() {        if (!isStarted()) {            myLogger.debug("BioDriverImpl" + myID                    + ": Tick called when simulation wasn't started!");            return;        }        myLogger.debug("BioDriveImpl: begin Tick");        //Iterate through the actuators and tick them        for (int i = 0; i < actuators.length; i++) {            BioModule currentBioModule = (BioModule) (actuators[i]);            currentBioModule.tick();        }        //Iterate through the active sim modules and tick them        for (int i = 0; i < activeSimModules.length; i++) {            BioModule currentBioModule = (BioModule) (activeSimModules[i]);            currentBioModule.tick();        }        //Iterate through the passive sim modules and tick them        for (int i = 0; i < passiveSimModules.length; i++) {            BioModule currentBioModule = (BioModule) (passiveSimModules[i]);            currentBioModule.tick();        }        //Iterate through the priority sim modules and tick them        for (int i = 0; i < prioritySimModules.length; i++) {            BioModule currentBioModule = (BioModule) (prioritySimModules[i]);            currentBioModule.tick();        }        //Iterate through the sensors and tick them        for (int i = 0; i < sensors.length; i++) {            BioModule currentBioModule = (BioModule) (sensors[i]);            currentBioModule.tick();        }        ticksGoneBy++;    }