Class ExpirationTracker

All Implemented Interfaces:
Killer, Cloneable, Iterable<String>, Serializable

public class ExpirationTracker extends Entity
  • Field Details

  • Constructor Details

    • ExpirationTracker

      public ExpirationTracker()
      Constructor to create an empty tracker
  • Method Details

    • generateRPClass

      public static void generateRPClass()
      Generate the RPClass of this entity
    • setExpirationTime

      public void setExpirationTime(long newTime)
      Sets the new expiration time
      Parameters:
      newTime - the new expiration time
    • getExpirationTime

      public long getExpirationTime()
      Gets the expiration time
      Returns:
      the expiration time
    • setPlayerName

      public void setPlayerName(String player)
      Sets the new player id
      Parameters:
      player - the new player id
    • getPlayerName

      public String getPlayerName()
      Gets the player id
      Returns:
      the player id
    • setIdentifier

      public void setIdentifier(String id)
      Sets this tracker's identifier
      Parameters:
      id - the new identifier
    • getIdentifier

      public String getIdentifier()
      Gets this tracker's identifier
      Returns:
      the identifier