mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
use types.Cursor.
This commit is contained in:
@ -29,7 +29,7 @@ type Session interface {
|
||||
IsHost() bool
|
||||
|
||||
// cursor
|
||||
SetCursor(x, y int)
|
||||
SetCursor(cursor Cursor)
|
||||
|
||||
// websocket
|
||||
SetWebSocketPeer(websocketPeer WebSocketPeer)
|
||||
@ -55,7 +55,7 @@ type SessionManager interface {
|
||||
GetHost() Session
|
||||
ClearHost()
|
||||
|
||||
SetCursor(x, y int, session Session)
|
||||
SetCursor(cursor Cursor, session Session)
|
||||
PopCursors() map[Session]Cursor
|
||||
|
||||
Broadcast(event string, payload interface{}, exclude interface{})
|
||||
|
Reference in New Issue
Block a user