Package edu.ntnu.stud.chaosgame.view
Interface ChaosGameObserver
- All Known Implementing Classes:
ChaosGameGui
public interface ChaosGameObserver
Observer interface for monitoring changes to the active.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateCanvas
(ChaosCanvas canvas) Update the ChaosCanvas.void
updateGame
(ChaosGame game) Update the observer based on changes to the chaos game.
-
Method Details
-
updateCanvas
Update the ChaosCanvas.- Parameters:
canvas
- the canvas to update with.
-
updateGame
Update the observer based on changes to the chaos game.- Parameters:
game
- the game this observer is monitoring.
-