Class EatAction

    • Field Detail

      • PROPERTY_POINTS

        public static final java.lang.String PROPERTY_POINTS
        The property for the points of a creature.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EatAction

        public EatAction()
    • Method Detail

      • perform

        public java.lang.Object perform​(java.util.Map parameters,
                                        IEnvironmentSpace space)
        Performs the action.
        Specified by:
        perform in interface ISpaceAction
        Parameters:
        parameters - parameters for the action
        space - the environment space
        Returns:
        action return value