Files
CodenameEngine/source/funkin/updating/UpdateScreen.hx
T
2022-12-16 19:48:30 +01:00

17 lines
395 B
Haxe

package funkin.updating;
import funkin.updating.UpdateUtil.UpdateCheckCallback;
class UpdateScreen extends MusicBeatState {
public var updater:AsyncUpdater;
public function new(check:UpdateCheckCallback) {
super(false);
updater = new AsyncUpdater(check.updates);
}
public override function create() {
super.create();
updater.execute();
}
}