Package net.alteiar.map.elements

Examples of net.alteiar.map.elements.CircleElement


    CampaignClient.getInstance().addBean(map);
    map = CampaignClient.getInstance().getBean(map.getId(), 2000);

    MapElementSize width = new MapElementSizePixel(20.0);
    MapElementSize height = new MapElementSizePixel(20.0);
    DelayedEffect effect = new DelayedEffect(new CircleElement(new Point(
        18, 18), Color.red, width), false, RectangleElement.class,
        10000, map.getId());
    BasicEffect t1 = new BasicEffect(new CircleElement(new Point(18, 18),
        Color.red, width), false, RectangleElement.class, map.getId());

    effect.addEffect(t1);

    MapElementFactory.buildMapElement(effect, map);
View Full Code Here


    RectangleElement rectangleElement = new RectangleElement(
        new Point(0, 0), Color.BLACK, width, height);

    PositionTrigger positionTrigger = new PositionTrigger(
        new CircleElement(new Point(25, 25), Color.red, width),
        effect.getId(), RectangleElement.class, map.getId());

    MapElementFactory.buildMapElement(rectangleElement, map);
    MapElementFactory.buildMapElement(positionTrigger, map);
    positionTrigger = getBeans(positionTrigger);
View Full Code Here

    RectangleElement rectangleElement = new RectangleElement(
        new Point(0, 0), Color.BLACK, width, height);

    PositionTrigger positionTrigger = new PositionTrigger(
        new CircleElement(new Point(25, 25), Color.red, width),
        effect.getId(), RectangleElement.class, map.getId());

    MapElementFactory.buildMapElement(rectangleElement, map);
    MapElementFactory.buildMapElement(positionTrigger, map);
View Full Code Here

    effectSuite.addEffect(basicEffect1.getId());
    effectSuite.addEffect(basicEffect2.getId());

    PositionTrigger positionTrigger = new PositionTrigger(
        new CircleElement(new Point(20, 20), Color.red, width),
        effectSuite.getId(), RectangleElement.class, map.getId());

    MapElementFactory.buildMapElement(positionTrigger, map);
    positionTrigger = getBeans(positionTrigger);
View Full Code Here

TOP

Related Classes of net.alteiar.map.elements.CircleElement

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.