Class FntLoader


  • public class FntLoader
    extends Object
    Class that can load a fnt file and its texture atlas
    Author:
    Darius Dinger
    • Constructor Detail

      • FntLoader

        public FntLoader()
    • Method Detail

      • loadFont

        public static void loadFont​(String file,
                                    boolean asResource)
        Loading font file and its texture atlas from fnt file ad store it into database
        Parameters:
        file - Fnt file name relative to application
        asResource - Load font from resources