Interface IPheromone

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double EVAPORATION_RATE
      The evaporation rate determines how quickly a pheromone dissolves (in strength per second).
    • Field Detail

      • EVAPORATION_RATE

        static final double EVAPORATION_RATE
        The evaporation rate determines how quickly a pheromone dissolves (in strength per second).
        See Also:
        Constant Field Values
    • Method Detail

      • getId

        java.lang.String getId()
        Get the id (or name) of this object.
        Specified by:
        getId in interface ILocationObject
        Returns:
        The id.
      • getType

        java.lang.String getType()
        Get the type of the pheromone.
        Returns:
        The pheromone type as string.
      • getStrength

        double getStrength()
        Get the strength of the pheromone (0..1).
        Returns:
        The current strength of the pheromone.