public void setState(int state) {			
			switch(state){
				case 1://state is random move
					this.state = state;
					subState = RANDOM;
					break;
				case 2:
					break;
				case 3:
					break;
				case 4:
					break;
				case 5:
					this.state = state;
					subState = RANDOM;
					break;
				case 6:
					break;
				case 7:
					subState = state;
					break;
				}
			
		}