aboutsummaryrefslogtreecommitdiff
path: root/source/shared/Utils.hx
diff options
context:
space:
mode:
Diffstat (limited to 'source/shared/Utils.hx')
-rw-r--r--source/shared/Utils.hx13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/shared/Utils.hx b/source/shared/Utils.hx
new file mode 100644
index 0000000..3f924ed
--- /dev/null
+++ b/source/shared/Utils.hx
@@ -0,0 +1,13 @@
+package shared;
+
+import haxe.Timer;
+import lime.tools.GUID;
+
+class Utils
+{
+ public static function Guid()
+ {
+ var guid = GUID.seededUuid(Date.now().toString());
+ return guid.split("{").join("").split("}").join("");
+ }
+}