All Implemented Interfaces:
Identifiable, Locatable, Verified

public class Player extends Character
  • Constructor Details

    • Player

      public Player(Object reference)
  • Method Details

    • getOverheadIcon

      public int getOverheadIcon()
    • getTeam

      public int getTeam()
    • getComposite

      @Deprecated public PlayerComposite getComposite()
      Deprecated.
    • getLevel

      public int getLevel()
      Specified by:
      getLevel in class Character
    • getSkullIcon

      public int getSkullIcon()
    • isSkulled

      public boolean isSkulled()
    • isHidden

      @Deprecated public boolean isHidden()
      Deprecated.
    • getNameComposite

      @Deprecated public NameComposite getNameComposite()
      Deprecated.
    • getName

      public String getName()
      Specified by:
      getName in interface Identifiable
      Specified by:
      getName in class Entity
    • getIndex

      public int getIndex()
      Specified by:
      getIndex in class Character
    • setIndex

      public void setIndex(int index)
    • getBoundingBox

      public Rectangle getBoundingBox()
      Overrides:
      getBoundingBox in class Entity
    • getId

      public int getId()
    • hasAction

      public boolean hasAction(String... actions)
      Specified by:
      hasAction in class Entity
    • getActions

      public String[] getActions()
      Specified by:
      getActions in class Entity
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getEquipment

      public List<Item> getEquipment()
    • hashed

      public String hashed()
    • hashed

      public String hashed(String prepend, String append)
    • getAppearance

      public int[] getAppearance()
    • getBodyColors

      public int[] getBodyColors()
    • exists

      public boolean exists()
      Specified by:
      exists in interface Verified
      Overrides:
      exists in class Character