Browse Source

A get/set pair was missing.

tags/v2.0
Christos Houtouridis 6 years ago
parent
commit
da8ad7259a
2 changed files with 8 additions and 0 deletions
  1. +0
    -0
      report/Snake.odt
  2. +8
    -0
      src/net/hoo2/auth/dsproject/snake/Player.java

report/Snake_PartA.odt → report/Snake.odt View File


+ 8
- 0
src/net/hoo2/auth/dsproject/snake/Player.java View File

@@ -82,10 +82,18 @@ public class Player {
this.tile = tile; this.tile = tile;
} }
/** Get lastMove */
int[] getLastMove () { return lastMove; } int[] getLastMove () { return lastMove; }
/** Set lastMove */
void setLastMove (int[] lastMove) { void setLastMove (int[] lastMove) {
this.lastMove = lastMove; this.lastMove = lastMove;
} }
/** Get dryMove */
int[] getDryMove () { return dryMove; }
/** Set dryMove */
void setDryMove (int[] dryMove) {
this.dryMove = dryMove;
}
/** @} */ /** @} */
/** @name Exposed API members */ /** @name Exposed API members */


Loading…
Cancel
Save