Class Mob

All Implemented Interfaces:
Serializable, AttributeWrangler, DisplayInterface, ItemWrangler, Ownage

@Entity public class Mob extends Person
A mob in the game.
Author:
maartenl
See Also:
  • Constructor Details

    • Mob

      public Mob()
  • 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)
      Mobs can fight. 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