diff --git a/report/Snake_PartA.odt b/report/Snake.odt similarity index 100% rename from report/Snake_PartA.odt rename to report/Snake.odt diff --git a/src/net/hoo2/auth/dsproject/snake/Player.java b/src/net/hoo2/auth/dsproject/snake/Player.java index 1d4fe04..fb7745a 100644 --- a/src/net/hoo2/auth/dsproject/snake/Player.java +++ b/src/net/hoo2/auth/dsproject/snake/Player.java @@ -82,10 +82,18 @@ public class Player { this.tile = tile; } + /** Get lastMove */ int[] getLastMove () { return lastMove; } + /** Set lastMove */ void setLastMove (int[] lastMove) { this.lastMove = lastMove; } + /** Get dryMove */ + int[] getDryMove () { return dryMove; } + /** Set dryMove */ + void setDryMove (int[] dryMove) { + this.dryMove = dryMove; + } /** @} */ /** @name Exposed API members */