public void move(short direction){
	if(this.grid.canMove(this.position,direction)){
	    this.numMoves++;
	    grid.unmarkCell(position, MazeGrid.MARKER4);
	    switch(direction){
	    case MazeGrid.DIR_RIGHT:
		position.col+=1;
		break;
	    case MazeGrid.DIR_UP:
		position.row-=1;
		break;
	    case MazeGrid.DIR_LEFT:
		position.col-=1;
		break;
	    case MazeGrid.DIR_DOWN:
		position.row+=1;
		break;
	    }
	    //if(this.visible) grid.markCell(position, MazeGrid.MARKER4);
	    this.grid.updatePlayerPosition();
	}
	//else return, cannot move
    }