From 9abd235ed2b9a5c80d5e63d6187d69e9317c2f0d Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Wed, 22 Sep 2021 10:10:50 +0530 Subject: * Initial Commit * Leaderboard Implementation for dreamlo * FlxSave for Player Data * GUID Generation for Unique User --- source/shared/UIBackground.hx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/shared/UIBackground.hx (limited to 'source/shared/UIBackground.hx') diff --git a/source/shared/UIBackground.hx b/source/shared/UIBackground.hx new file mode 100644 index 0000000..de3b4c9 --- /dev/null +++ b/source/shared/UIBackground.hx @@ -0,0 +1,14 @@ +package shared; + +import flixel.FlxSprite; +import flixel.util.FlxColor; + +class UIBackground extends FlxSprite +{ + public function new(x:Float = 0, y:Float = 0, width:Int, height:Int, color:FlxColor) + { + super(x, y); + makeGraphic(width, height, color); + alpha = 0.5; + } +} -- cgit v1.2.3