Examples of YouLoseRole


Examples of voodoo.game.youlose.role.YouLoseRole

public abstract class YouLosePhase extends Phase {
  protected Map<String, Role> mapRoles(Collection<Role> roles) {
    Hashtable<String, Role> roleMap = new Hashtable<String, Role>();
    for(Role role : roles) {
      YouLoseRole youLoseRole;
      if(role == null || !(role instanceof YouLoseRole)) {
        throw new IllegalArgumentException();
      } else {
        youLoseRole = (YouLoseRole)role;
      }
     
      roleMap.put(youLoseRole.getId(), youLoseRole);
    }
    return roleMap;
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.