set position in session.

This commit is contained in:
Miroslav Šedivý
2021-10-23 20:25:18 +02:00
parent 60f459392a
commit 318b833b30
4 changed files with 44 additions and 8 deletions

View File

@ -23,6 +23,9 @@ type Session interface {
State() SessionState
IsHost() bool
// cursor position
SetPosition(x, y int)
// websocket
SetWebSocketPeer(websocketPeer WebSocketPeer)
SetWebSocketConnected(websocketPeer WebSocketPeer, connected bool)