Created
December 1, 2017 23:02
-
-
Save pollend/321293cb37b4026815ae2ef970c3f5c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@In | |
private BlockManager blockManager; | |
... | |
PathFamily family = (PathFamily)blockManager.getBlockFamily("Rails:rails"); | |
Block block = family.getBlockByConnection( SideBitFlag.getSides(Side.LEFT,Side.RIGHT)); | |
// do something with block |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment