Add abstract method updateStatus to renderer
This commit is contained in:
@@ -66,6 +66,7 @@ public class SwingRenderer extends GomokuRenderer {
|
||||
canvas.draw(game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateStatus(String status) {
|
||||
// Update the status label
|
||||
JLabel statusLabel = (JLabel) mainFrame.getContentPane().getComponent(1);
|
||||
|
||||
Reference in New Issue
Block a user