-The rest of the game engine. I screwed up the commit last time.
This commit is contained in:
21
src/model/Move.java
Normal file
21
src/model/Move.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package model;
|
||||
|
||||
import model.Board.TileColor;
|
||||
|
||||
public class Move {
|
||||
private final TileColor color;
|
||||
private final CellPointer cp;
|
||||
|
||||
public Move(CellPointer cllPntr, TileColor tlClr) {
|
||||
cp = cllPntr;
|
||||
color = tlClr;
|
||||
}
|
||||
|
||||
public CellPointer getCell() {
|
||||
return cp;
|
||||
}
|
||||
|
||||
public TileColor getColor() {
|
||||
return color;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user