Back to project page Tic-Tac-Toe.
The source code is released under:
MIT License
If you think the Android project Tic-Tac-Toe listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.comp1008.AmmanVedi.TicTacToe; /*from ww w . j a va 2 s .co m*/ public class Tuple { private int PlayerValue; private int SectorValue; public Tuple(int s, int i) { this.PlayerValue = s; this.SectorValue = i; } public void resetTuple() { this.PlayerValue = -1; this.SectorValue = -1; } public int getPlayerValue() { return this.PlayerValue; } public int getSectorValue(){ return this.SectorValue; } public void setTuple(int x, int sec) { this.PlayerValue = x; this.SectorValue = sec; } }