Package net.sourceforge.torchlight.data.campaign

Examples of net.sourceforge.torchlight.data.campaign.Participant


            }
            else if(parentElement instanceof Participant)
            {
                logger.debug("get campaign participant children");
               
                Participant p = (Participant)parentElement;
               
                Vector<Creature> pcs = p.getCampaign().getCharacters(p);
                logger.debug("characters belonging to Participant " + p.getName() + ": " + pcs.size());
               
                for(Creature c : pcs)
                {
                    logger.debug("register as listener for: " + c);
                    c.addListener(CampaignView.this);
View Full Code Here


            }
            else if(element instanceof Participant)
            {
                logger.debug("participant");
               
                Participant p = (Participant)element;
                logger.trace("p = " + p.getName());
               
                if(p.getRole() == Participant.Role.DUNGEON_MASTER)
                {
                    logger.debug("participant is DM");
                    return false;
                }
               
                if(p.getCharacters().size() > 0)
                {
                    logger.debug("participant is player");
                    return true;
                }
            }
View Full Code Here

                    return JFaceResources.getFontRegistry().getItalic(JFaceResources.DEFAULT_FONT);
                }
            }
            else if(element instanceof Participant)
            {
                Participant p = (Participant)element;
               
                if(p.getRole() == Participant.Role.DUNGEON_MASTER)
                {
                    logger.debug("participant is DM");
                    return JFaceResources.getFontRegistry().getBold(JFaceResources.DEFAULT_FONT);
                }
            }
View Full Code Here

TOP

Related Classes of net.sourceforge.torchlight.data.campaign.Participant

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.