Class Bot

All Implemented Interfaces:
Serializable, AttributeWrangler, DisplayInterface, ItemWrangler, Ownage
Direct Known Subclasses:
Shopkeeper

@Entity public class Bot extends Person
A bot in the game. Might be a shopkeeper.
Author:
maartenl
See Also:
  • Constructor Details

    • Bot

      public Bot()
  • Method Details

    • getFightable

      public Boolean getFightable()
      Description copied from class: Person
      Indicates if this person can be fought with by other persons/users/players.
      Overrides:
      getFightable in class Person
      Returns:
      true if can be fought with, false otherwise.
    • setFightable

      public void setFightable(Boolean fightable)
      Bots cannot fight. Use mobs for that. Any entry is ignored.
      Overrides:
      setFightable in class Person
      Parameters:
      fightable -
      See Also:
    • canReceive

      public boolean canReceive()
      Description copied from class: Person
      Indicates whether or not this person can receive items or money from other players.
      Specified by:
      canReceive in class Person
      Returns:
    • getGod

      public God getGod()
      Overrides:
      getGod in class Person