public void apply() {
//		displayMapWalkable();
		establishPatrolers();
//		updatePatrollers();
		establishAttackers();
		claimMinerals();
		patrol();
//		astarTest();
		
		switch (consumeState) {

		case MORPH_DRONES:
			morphToDrones();
			break;

		case SPAWN_POOLS:
			buildSpawingPools();
			break;

		default:
			break;
		}

		switch (produceState) {

		case SPAWN_OVERLORDS:
			spawnOverlords();
			break;

		case SPAWN_ZERGLINS:
			spawnZerglings();
			break;
			
		default:
			break;
		}
		
		switch (actionState) {
		
//		case PATROL:
//			patrol();
//			break;
			
		case ATTACK:
			attack();
			break;
			
		case DEFEND:
			defend();
			break;
			
			
		default:
			break;
		}

	}