/src/packets/StartGameReq.java
http://inequity.googlecode.com/ · Java · 32 lines · 21 code · 4 blank · 7 comment · 0 complexity · b592cb12cf07d63dbbf8a5cf590b97a7 MD5 · raw file
- package packets;
- import elements.Consts.Priorities;
- import network.Lobby;
- /**
- *
- * @author Joel Garboden
- */
- public class StartGameReq extends Request
- {
- /**
- *
- */
- public StartGameReq()
- {
- this.priority = Priorities.TURN_UPDATE;
- }
- @Override
- public boolean lobbyRequest(Lobby lobby)
- {
- lobby.startGameCmd(lobby.lobbyList);
- return true;
- }
- @Override
- public String toString()
- {
- return "StartGameRequest";
- }
- }