/** * A stubclass for Position to store and change a Piece's position. * * @March 2000 * @author Ming Gu, Yasir Mehboob. * Ammar Bandukwala, Mustally Hussain, Shiva Kabra. */ public class StubPosition { public int rownumber; public int columnnumber; /** * Constructor, takes rownumber and columnnumber. */ public StubPosition(int row, int column) { this.rownumber = row; this.columnnumber = column; } // +------------+----------------------------------------- // | Extractors | // +------------+ /** * Some other objects may ask a piece for its information, * so some necessary extractors are needed. */ /** Get a piece's row number. */ public int getRow() { return 1; } /** Get a piece's column number. */ public int getColumn(){ return 1; } } // class Position