From be9b7017f10798b7fd718c6181916217a4c23a88 Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Wed, 20 Mar 2024 21:14:39 -0700 Subject: [PATCH] feat: starting to add dock code to API --- API/oursin/dock.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 API/oursin/dock.py diff --git a/API/oursin/dock.py b/API/oursin/dock.py new file mode 100644 index 00000000..15392fea --- /dev/null +++ b/API/oursin/dock.py @@ -0,0 +1,10 @@ + +from . import client + +def save(): + """Save the current scene + """ + client.sio.emit('urchin-save') + +def load(string url): + client.sio.emit('urchin-load', url) \ No newline at end of file