Package org.knapper.core.roles.impl

Examples of org.knapper.core.roles.impl.PlayerImpl


    IPlayer player = null;
   
    final String nickName = createNickName(armb.getNickName());
    final String guid = GuidGenerator.generate();
   
    player = new PlayerImpl(guid, nickName);
   
    return player;
  }
View Full Code Here


    IPlayer player = null;
   
    final String nickName = createNickName(armb.getNickName());
    final String guid = GuidGenerator.generate();
   
    player = new PlayerImpl(guid, nickName);
   
    ((ServerIOThread) receiverThread).registerPlayer(player);
   
//     TODO fire auth new player vent as ServerSessionChangeEvent   
   
View Full Code Here

public class PlayerFactory {
  private PlayerFactory() {
  }
 
  public static IPlayer createPlayer(String guid, String nickName) {
    return new PlayerImpl(guid, nickName);
  }
View Full Code Here

TOP

Related Classes of org.knapper.core.roles.impl.PlayerImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.