Package net.alteiar.effectBean.mine

Examples of net.alteiar.effectBean.mine.EffectSuite


  public void testSuiteEffect() {
    MapBean map = addBean(new MapBean("map"));

    MapElementSize width = new MapElementSizePixel(10.0);
    MapElementSize height = new MapElementSizePixel(10.0);
    EffectSuite effectSuite = addBean(new EffectSuite());

    MyInternalEffect basicEffect1 = addBean(new MyInternalEffect());
    MyInternalEffect basicEffect2 = addBean(new MyInternalEffect());

    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);

    RectangleElement rectangleElement = new RectangleElement(
View Full Code Here

TOP

Related Classes of net.alteiar.effectBean.mine.EffectSuite

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.