public void clear() { for (int i = 0; i < Model.getPlaces(); i++) { codepanel.setGuess(i, null); } markpanel.set(null); }
public void activate(boolean isActive) { if (isActive) { setBackground(Color.DARK_GRAY); } else { setBackground(Color.LIGHT_GRAY); } codepanel.activate(isActive); }
public void setAnswer(AnswerCode answer, View.EntryType visibility) { codepanel.set(answer, visibility); }
public void setGuess(int colId, CodeColour col) { codepanel.setGuess(colId, col); }
public void setCode(ColourCode colcode) { codepanel.set(colcode); }