for(int i=0;i<opt.getNumberOfDetectives();i++) {
if(i==activeDet) {
g2d.setColor(Color.CYAN);
g2d.fillRect(18, detYOffset-12+pixPerDetective*i, 100, 15);
}
Detective d = b.getDetectives()[i];
g2d.setColor(Color.BLACK);
if(d.isStranded()) {
g2d.setColor(Color.RED);
}
g2d.drawString("Detective "+(i+1)+": "+d.getPosition().getPosition(), 20, detYOffset+pixPerDetective*i);
g2d.setColor(Detective.getColor(i));
g2d.fillOval(5, detYOffset-9+pixPerDetective*i, 10, 10);
g2d.setColor(Move.getColor(TAXI));
g2d.drawString(""+d.getTaxiTickets()+"x T", 20, detYOffset+pixPerDetective*i+20);
g2d.setColor(Move.getColor(BUS));
g2d.drawString(""+d.getBusTickets()+"x B", 60, detYOffset+pixPerDetective*i+20);
g2d.setColor(Move.getColor(UG));
g2d.drawString(""+d.getUndergroundTickets()+"x U", 100, detYOffset+pixPerDetective*i+20);
}
if(Manager.getOptions().isCheat() || game.isCheckPoint()) {
g2d.setColor(Color.BLACK);