mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-12-08 13:08:26 +00:00
Added funnyColor backwards compatibility
This commit is contained in:
parent
8a31e12d10
commit
01029817c0
|
|
@ -1,8 +1,9 @@
|
|||
package funkin.ui.freeplay;
|
||||
|
||||
import flixel.text.FlxText;
|
||||
import flixel.util.FlxSort;
|
||||
import flixel.math.FlxPoint;
|
||||
import flixel.text.FlxText;
|
||||
import flixel.util.FlxColor;
|
||||
import flixel.util.FlxSort;
|
||||
|
||||
// its kinda like marqeee html lol!
|
||||
@:nullSafety
|
||||
|
|
@ -15,6 +16,17 @@ class BGScrollingText extends FlxText
|
|||
public var placementOffset:Float = 20;
|
||||
public var speed:Float = 1;
|
||||
|
||||
@:deprecated("Use color instead")
|
||||
public var funnyColor(get, set):FlxColor;
|
||||
|
||||
function get_funnyColor():FlxColor
|
||||
return color;
|
||||
|
||||
function set_funnyColor(c:FlxColor):FlxColor
|
||||
{
|
||||
return color = c;
|
||||
}
|
||||
|
||||
public function new(x:Float, y:Float, text:String, widthShit:Float = 100, ?bold:Bool = false, ?size:Int = 48)
|
||||
{
|
||||
super(x, y, 0, text, size);
|
||||
|
|
|
|||
Loading…
Reference in a new issue