Interface KnownFonts.Field<T>

Type Parameters:
T - the type that this can parse
Enclosing class:
KnownFonts

public static interface KnownFonts.Field<T>
A functional interface that can process a T typed object and do something with it. This is essentially the same thing as a Consumer of T objects from Java 8. The functional method of this type is parse(Object).
This has to be horribly duplicated, because this is private in TextureAtlas.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    parse(T object)
    Read in a T object and do some processing with it, usually having side effects.
  • Method Details

    • parse

      void parse(T object)
      Read in a T object and do some processing with it, usually having side effects.
      Parameters:
      object - any object of the type this Field can process