Interface Unique

All Known Implementing Classes:
Action, Asset, Ending, Entity, SignedAsset, Variable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Unique
A unique object has a sequential integer ID that specifically distinguishes it from other objects of the same type in the same story world.
Author:
Stephen G. Ware
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns this object's unique, sequential, integer ID number that distinguishes it from other objects of the same type in the same story world.
  • Method Details

    • getID

      int getID()
      Returns this object's unique, sequential, integer ID number that distinguishes it from other objects of the same type in the same story world.
      Returns:
      the object's ID number