From c17690389c1815714b5f079161611c385907cfe7 Mon Sep 17 00:00:00 2001 From: Mihai Alexandru <77043862+MAJigsaw77@users.noreply.github.com> Date: Wed, 25 Sep 2024 19:05:45 +0300 Subject: [PATCH] Update FlxGifBackdrop.hx --- source/flxgif/FlxGifBackdrop.hx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/flxgif/FlxGifBackdrop.hx b/source/flxgif/FlxGifBackdrop.hx index 02df9f7..2e0eb4a 100644 --- a/source/flxgif/FlxGifBackdrop.hx +++ b/source/flxgif/FlxGifBackdrop.hx @@ -18,17 +18,18 @@ import openfl.utils.ByteArray; /** * `FlxGifBackdrop` is made for showing infinitely scrolling gif backgrounds using FlxBackdrop. */ +@:nullSafety class FlxGifBackdrop extends FlxBackdrop { /** * The Gif Player (warning: can be `null`). */ - public var player(default, null):GifPlayer; + public var player(default, null):Null; /** * The Gif SpriteMap (warning: can be `null`). */ - public var map(default, null):GifMap; + public var map(default, null):Null; /** * Creates an instance of the `FlxGifBackdrop` class, used to create infinitely scrolling gif backgrounds.