Package org.solarus.editor

Examples of org.solarus.editor.SpriteAnimation.addObserver()


     * @return The node created.
     */
    private DefaultMutableTreeNode createAnimationNode(String animationName) {

        SpriteAnimation animation = sprite.getAnimation(animationName);
        animation.addObserver(this);
        DefaultMutableTreeNode animationNode = new DefaultMutableTreeNode(
                new NodeInfo(animation, animationName));
        animationNode.setAllowsChildren(true);

        return animationNode;
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.