Base game & server skeleton
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package gltronic.tronio.business;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.springframework.web.socket.WebSocketSession;
|
||||
|
||||
import gltronic.tronio.model.Player;
|
||||
|
||||
public interface IGameManager {
|
||||
void login(WebSocketSession session) throws InterruptedException, IOException;
|
||||
void leave(WebSocketSession session) throws InterruptedException, IOException;
|
||||
void update(WebSocketSession session, Player player) throws InterruptedException, IOException;
|
||||
}
|
||||
Reference in New Issue
Block a user