Silver Bells #CarolsInCode

public boolean soonChristmasDay(int numBells) {
  Bell[] bells = new Bell[numBells];
  if (Time.currentTime().monthValue()==12 && Time.currentTime().dayValue()<25) {
    for (int i=0; i<numBells; i++) {
      bells[i].setColour(Colour.SILVER);
      bells[i].setLocation("The City");
      bells[i].ringALing();
    }
    hearThemRing(bells);
    return true;
  }
  else return false;
}

3 thoughts on “Silver Bells #CarolsInCode

Leave a comment