Commits
Parker Hawke authored and md_5 committed 504d9666517
35 35 | return front.getLine(index); |
36 36 | } |
37 37 | |
38 38 | |
39 39 | public void setLine(int index, String line) throws IndexOutOfBoundsException { |
40 40 | front.setLine(index, line); |
41 41 | } |
42 42 | |
43 43 | |
44 44 | public boolean isEditable() { |
45 - | return !getSnapshot().isWaxed() && getSnapshot().playerWhoMayEdit != null; |
45 + | return !isWaxed(); |
46 46 | } |
47 47 | |
48 48 | |
49 49 | public void setEditable(boolean editable) { |
50 - | getSnapshot().setWaxed(!editable); |
50 + | this.setWaxed(!editable); |
51 + | } |
52 + | |
53 + | |
54 + | public boolean isWaxed() { |
55 + | return getSnapshot().isWaxed(); |
56 + | } |
57 + | |
58 + | |
59 + | public void setWaxed(boolean waxed) { |
60 + | getSnapshot().setWaxed(waxed); |
51 61 | } |
52 62 | |
53 63 | |
54 64 | public boolean isGlowingText() { |
55 65 | return front.isGlowingText(); |
56 66 | } |
57 67 | |
58 68 | |
59 69 | public void setGlowingText(boolean glowing) { |
60 70 | front.setGlowingText(glowing); |