Package com.github.tommyettinger.textra
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
This has to be horribly duplicated, because this is private in TextureAtlas.
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
-
Method Details
-
parse
Read in aTobject and do some processing with it, usually having side effects.- Parameters:
object- any object of the type this Field can process
-