Skip to content
Snippets Groups Projects
Commit 21d54ac9 authored by Håvard Daleng's avatar Håvard Daleng
Browse files

Preparing to push.

parent 23566493
No related branches found
No related tags found
No related merge requests found
package edu.ntnu.stud.chaosgame.controller.game;
import edu.ntnu.stud.chaosgame.model.data.Vector2D;
import edu.ntnu.stud.chaosgame.view.ChaosGameObserver;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
......
package edu.ntnu.stud.chaosgame.controller.game;
package edu.ntnu.stud.chaosgame.view;
import edu.ntnu.stud.chaosgame.controller.game.ChaosGame;
/**
* Observer interface for monitoring changes to the active
......@@ -7,6 +9,7 @@ package edu.ntnu.stud.chaosgame.controller.game;
public interface ChaosGameObserver {
// TODO: Create interface
/**
* Perform update of the ChaosCanvas.
*
......@@ -21,5 +24,10 @@ public interface ChaosGameObserver {
*/
//void updateDescription(ChaosGameDescription description);
/**
* Update the observer based on changes to the chaos game.
*
* @param game the game this observer is monitoring.
*/
void update(ChaosGame game);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment