diff options
| author | RblSb <msrblsb@gmail.com> | 2020-02-27 20:24:51 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-02-27 20:24:51 +0300 |
| commit | 8c739fa43946ba8cc5bc6c6226032154b9481a40 (patch) | |
| tree | 8e112fdf4fe4d9d2fbe851e4bbdce56ec8298d16 /src/client/IPlayer.hx | |
| parent | 2c7811e0c56d5c33ab0138b6dcd281f516bff809 (diff) | |
Permanent items and player abstraction
Diffstat (limited to 'src/client/IPlayer.hx')
| -rw-r--r-- | src/client/IPlayer.hx | 12 |
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; +} |
