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/Types.hx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 source/shared/Types.hx (limited to 'source/shared/Types.hx') diff --git a/source/shared/Types.hx b/source/shared/Types.hx new file mode 100644 index 0000000..3faad76 --- /dev/null +++ b/source/shared/Types.hx @@ -0,0 +1,25 @@ +package shared; + +typedef Entry = +{ + var date:String; + var name:String; + var score:String; + var seconds:String; + var text:String; +} + +typedef LeaderBoard = +{ + var entry:Array; +} + +typedef DreamLo = +{ + var leaderboard:LeaderBoard; +} + +typedef ScoreBoardData = +{ + var dreamlo:DreamLo; +} -- cgit v1.2.3