All Downloads are FREE. Search and download functionalities are using the official Maven repository.

games.rednblack.h2d.common.HyperLog Maven / Gradle / Ivy

The newest version!
package games.rednblack.h2d.common;

import games.rednblack.puremvc.Facade;

public class HyperLog {

    private static Facade facade;

    public static void setFacade(Facade f) {
        facade = f;
    }

    public static void info(String string) {
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, "[246BCE]");
        System.out.println(string);
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, "[ffffff]");
    }

    public static void infoUnderline(String string) {
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, "[246BCE][UNDERLINE]");
        System.out.println(string);
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, "[ffffff][NORMAL]");
    }

    public static void infoStrike(String string) {
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, "[246BCE][STRIKE]");
        System.out.println(string);
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, "[ffffff][NORMAL]");
    }

    public static void cInfo(String string) {
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, "[246BCE]");
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, string);
        facade.sendNotification(MsgAPI.WRITE_TO_CONSOLE, "[ffffff]\n");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy