Package megamek.common

Examples of megamek.common.TagInfo


        ArtilleryAttackAction aaa = (ArtilleryAttackAction) waa;

        final Coords tc = target.getPosition();
        Entity entityTarget = null;

        TagInfo info = null;
        Entity tagger = null;

        for (int pass = 0; pass < 2; pass++) {
            int bestDistance = Integer.MAX_VALUE;
            int bestIndex = -1;
View Full Code Here


                }
            }
            if (priority < 1)
                priority = 1;
            // it is possible for 2 or more tags to hit the same entity
            TagInfo info = new TagInfo(ae.getId(), entityTarget.getId(),
                    priority, false);
            game.addTagInfo(info);
            entityTarget.setTaggedBy(ae.getId());
            r = new Report(3188);
            r.subject = subjectId;
View Full Code Here

            } else if (mode.getName() == "4-shot") {
                priority = 4;
            }
        }
        //add even misses, as they waste homing missiles.
        TagInfo info = new TagInfo(ae.getId(), entityTarget.getId(), priority,
                true);
        game.addTagInfo(info);
        return false;
    }
View Full Code Here

TOP

Related Classes of megamek.common.TagInfo

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.