Skip to content
Snippets Groups Projects

Implemented gamecontroller

Merged Edvard Granheim Harbo requested to merge gameController into dev
7 files
+ 36
21
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -13,4 +13,10 @@ public class GameController {
public void setChaosCanvasSize(int width, int height) {
ChaosGame.getInstance().setCanvas(width, height);
}
public void runTransformation(ChaosGameDescription description, int width, int height, int steps) {
ChaosGame.getInstance().setDescription(description);
ChaosGame.getInstance().setCanvas(width, height);
ChaosGame.getInstance().runSteps(steps);
}
}
Loading