summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/engine/ObjectiveSet.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/ObjectiveSet.java b/core/src/ch/asynk/tankontank/engine/ObjectiveSet.java
index 221fbc8..2effb6b 100644
--- a/core/src/ch/asynk/tankontank/engine/ObjectiveSet.java
+++ b/core/src/ch/asynk/tankontank/engine/ObjectiveSet.java
@@ -62,6 +62,11 @@ public class ObjectiveSet extends HashMap<Tile, Objective>
modified.clear();
}
+ public int modifiedCount()
+ {
+ return modified.size();
+ }
+
public void revert(ObjectiveCb cb)
{
for (Objective objective : modified.keySet()) {