@@ -36,20 +36,20 @@ class VirtualInputData extends #if nme ByteArray #else ByteArrayData #end {}
36
36
typedef FlxTexturePackerJsonAsset = FlxJsonAsset <TexturePackerAtlas >;
37
37
typedef FlxAsepriteJsonAsset = FlxJsonAsset <AseAtlas >;
38
38
typedef FlxSoundAsset = OneOfThree <String , Sound , Class <Sound >>;
39
+ typedef FlxGraphicAsset = OneOfFour <FlxGraphic , BitmapData , String , Class <Dynamic >>;
39
40
typedef FlxTilemapGraphicAsset = OneOfFour <FlxFramesCollection , FlxGraphic , BitmapData , String >;
40
41
typedef FlxBitmapFontGraphicAsset = OneOfFour <FlxFrame , FlxGraphic , BitmapData , String >;
41
42
42
- abstract FlxGraphicAsset (OneOfFour <FlxGraphic , BitmapData , String , Class <Dynamic >>) from FlxGraphic from BitmapData from Class <Dynamic > from String
43
+ @:deprecated (" `FlxGraphicSource` is deprecated, use `FlxGraphicAsset` instead" )
44
+ abstract FlxGraphicSource (FlxGraphicAsset ) from FlxGraphic from BitmapData from Class <Dynamic > from String
43
45
{
46
+ @:deprecated (" `resolveBitmapData` is deprecated, use `FlxAssets.resolveBitmapData` instead" )
44
47
public inline function resolveBitmapData (): BitmapData
45
48
{
46
49
return FlxAssets .resolveBitmapData (cast this );
47
50
}
48
51
}
49
52
50
- @:deprecated (" `FlxGraphicSource` is deprecated, use `FlxGraphicAsset` instead" )
51
- typedef FlxGraphicSource = FlxGraphicAsset ;
52
-
53
53
abstract FlxAngelCodeAsset (OneOfThree <Xml , String , Bytes >) from Xml from String from Bytes
54
54
{
55
55
public inline function parse ()
0 commit comments