src/gamemechanics/Broadcast.java
public static void broadcastGardenerGardenMessage() throws GameActionException {
		if (rc.getType() != RobotType.GARDENER)
			return;
		if (isTurnEven()) {
			rc.broadcast(GARDENER_GARDEN_EVEN_TURN_CHANNEL, rc.readBroadcast(GARDENER_GARDEN_EVEN_TURN_CHANNEL) + 1);
		} else {
			rc.broadcast(GARDENER_GARDEN_ODD_TURN_CHANNEL, rc.readBroadcast(GARDENER_GARDEN_ODD_TURN_CHANNEL) + 1);
		}
	}
/**
	 * Only Called by Gardeners. Broadcast that this Gardener is in his functioning garden
	 * 
	 * @throws GameActionException
	 */
Only Called by Gardeners. Broadcast that this Gardener is in his functioning garden


Only Called by Gardeners . Broadcast that this Gardener is in his functioning garden
public static void broadcastGardenerGardenMessage() throws GameActionException {
		if (rc.getType() != RobotType.GARDENER)
			return;
		if (isTurnEven()) {
			rc.broadcast(GARDENER_GARDEN_EVEN_TURN_CHANNEL, rc.readBroadcast(GARDENER_GARDEN_EVEN_TURN_CHANNEL) + 1);
		} else {
			rc.broadcast(GARDENER_GARDEN_ODD_TURN_CHANNEL, rc.readBroadcast(GARDENER_GARDEN_ODD_TURN_CHANNEL) + 1);
		}
	}
public static void broadcastGardenerGardenMessage ( ) throws GameActionException { if ( rc . getType ( ) != RobotType . GARDENER ) return ; if ( isTurnEven ( ) ) { rc . broadcast ( GARDENER_GARDEN_EVEN_TURN_CHANNEL , rc . readBroadcast ( GARDENER_GARDEN_EVEN_TURN_CHANNEL ) + 1 ) ; } else { rc . broadcast ( GARDENER_GARDEN_ODD_TURN_CHANNEL , rc . readBroadcast ( GARDENER_GARDEN_ODD_TURN_CHANNEL ) + 1 ) ; } }
Only Called by Gardeners.
Only Called by Gardeners .