Skip to content

Commit

Permalink
Update FlxGifBackdrop.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
MAJigsaw77 authored Sep 25, 2024
1 parent d48bd05 commit c176903
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/flxgif/FlxGifBackdrop.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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<GifPlayer>;

/**
* The Gif SpriteMap (warning: can be `null`).
*/
public var map(default, null):GifMap;
public var map(default, null):Null<GifMap>;

/**
* Creates an instance of the `FlxGifBackdrop` class, used to create infinitely scrolling gif backgrounds.
Expand Down

0 comments on commit c176903

Please sign in to comment.