public class CoreChange
extends java.lang.Object
Holds a change to the playing field (core),that means when a player occupies a field in the core by a MOV instruction.
| Constructor and Description |
|---|
CoreChange(java.lang.Integer index,
java.lang.Integer owner)
CoreChange
Generates a game core change for further use in GUI, by setting a player (owner) in reference to an occupied core
index.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getIndex()
getIndex
|
java.lang.Integer |
getOwner()
getOwner
|
public CoreChange(java.lang.Integer index,
java.lang.Integer owner)
Generates a game core change for further use in GUI, by setting a player (owner) in reference to an occupied core index.
coreIndex - - committed core index occupied by a player (owner)player - - committed player (owner) occupying a core position