Class RequestEat

  • All Implemented Interfaces:
    IComponentAction

    public class RequestEat
    extends java.lang.Object
    implements IComponentAction
    Java class for concept RequestEat of hunterprey_beans ontology.
    • Field Detail

      • creature

        protected Creature creature
        The creature.
      • object

        protected WorldObject object
        The object being eaten.
    • Constructor Detail

      • RequestEat

        public RequestEat()
        Default Constructor. RequestEat.
      • RequestEat

        public RequestEat​(Creature creature,
                          WorldObject object)
        Init Constructor.
        Parameters:
        creature -
        object -
    • Method Detail

      • getCreature

        public Creature getCreature()
        Get the creature of this RequestEat. The creature.
        Returns:
        creature
      • setCreature

        public void setCreature​(Creature creature)
        Set the creature of this RequestEat. The creature.
        Parameters:
        creature - the value to be set
      • getObject

        public WorldObject getObject()
        Get the object of this RequestEat. The object being eaten.
        Returns:
        object
      • setObject

        public void setObject​(WorldObject object)
        Set the object of this RequestEat. The object being eaten.
        Parameters:
        object - the value to be set
      • toString

        public java.lang.String toString()
        Get a string representation of this RequestEat.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.