Examples of blockConnected()


Examples of edu.mit.blocks.renderable.RenderableBlock.blockConnected()

        plug.setConnectorBlockID(socketBlockID);
        socket.setConnectorBlockID(plugBlockID);

        //notify renderable block of connection so it can redraw with stretching
        RenderableBlock socketRB = workspace.getEnv().getRenderableBlock(socketBlockID);
        socketRB.blockConnected(socket, plugBlockID);

        if (clickSound != null) {
            //System.out.println("playing click sound");
            clickSound.play();
        }
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.