aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/IPlayer.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-02-27 20:24:51 +0300
committerRblSb <msrblsb@gmail.com>2020-02-27 20:24:51 +0300
commit8c739fa43946ba8cc5bc6c6226032154b9481a40 (patch)
tree8e112fdf4fe4d9d2fbe851e4bbdce56ec8298d16 /src/client/IPlayer.hx
parent2c7811e0c56d5c33ab0138b6dcd281f516bff809 (diff)
Permanent items and player abstraction
Diffstat (limited to 'src/client/IPlayer.hx')
-rw-r--r--src/client/IPlayer.hx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client/IPlayer.hx b/src/client/IPlayer.hx
new file mode 100644
index 0000000..9f224a8
--- /dev/null
+++ b/src/client/IPlayer.hx
@@ -0,0 +1,12 @@
+package client;
+
+import Types.VideoItem;
+
+interface IPlayer {
+ function loadVideo(item:VideoItem):Void;
+ function removeVideo():Void;
+ function play():Void;
+ function pause():Void;
+ function getTime():Float;
+ function setTime(time:Float):Void;
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage