/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  net.minecraft.class_332
 */
package meteordevelopment.meteorclient.events.render;

import meteordevelopment.meteorclient.utils.Utils;
import net.minecraft.class_332;

public class Render2DEvent {
    private static final Render2DEvent INSTANCE = new Render2DEvent();
    public class_332 drawContext;
    public int screenWidth;
    public int screenHeight;
    public double frameTime;
    public float tickDelta;

    public static Render2DEvent get(class_332 drawContext, int screenWidth, int screenHeight, float tickDelta) {
        Render2DEvent.INSTANCE.drawContext = drawContext;
        Render2DEvent.INSTANCE.screenWidth = screenWidth;
        Render2DEvent.INSTANCE.screenHeight = screenHeight;
        Render2DEvent.INSTANCE.frameTime = Utils.frameTime;
        Render2DEvent.INSTANCE.tickDelta = tickDelta;
        return INSTANCE;
    }
}

