Interface IUnitAttribute<T>

Type Parameters:
T - The class object of the attribute
All Known Implementing Classes:
AbstractUnitAttribute

public interface IUnitAttribute<T>
This class represents the complementary attributes of an unit
  • Method Details

    • setAttribute

      void setAttribute(T attribute)
      Set the attribute
      Parameters:
      attribute - the attribute to set
    • getAttribute

      T getAttribute()
      Get the attribute
      Returns:
      the attribute the attribute
    • getAttributeName

      String getAttributeName()
      Get the attribute name
      Returns:
      the attribute name