aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/fr/umlv
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/fr/umlv')
-rw-r--r--src/main/java/fr/umlv/java/wallj/model/Stage.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/java/fr/umlv/java/wallj/model/Stage.java b/src/main/java/fr/umlv/java/wallj/model/Stage.java
index a7fce67..b66a7ca 100644
--- a/src/main/java/fr/umlv/java/wallj/model/Stage.java
+++ b/src/main/java/fr/umlv/java/wallj/model/Stage.java
@@ -1,5 +1,36 @@
1package fr.umlv.java.wallj.model; 1package fr.umlv.java.wallj.model;
2 2
3import fr.umlv.java.wallj.board.Board;
4import fr.umlv.java.wallj.context.Context;
5import fr.umlv.java.wallj.event.Event;
6
7import java.util.List;
8import java.util.Objects;
9
10/**
11 * @author
12 */
3public class Stage { 13public class Stage {
4 //TODO Class Stage 14 //TODO Class Stage
15 private final Board currentBoard;
16
17 public Stage(Board board) {
18 currentBoard = Objects.requireNonNull(board);
19 }
20
21 /**
22 * @return the current board of the game
23 */
24 public Board getCurrentBoard() {
25 return currentBoard;
26 }
27
28 /**
29 * @param context the current context
30 * @return a list of new events to perform
31 */
32 public List<Event> update(Context context) {
33 //TODO
34 }
35
5} 36}