Skip to content

Instantly share code, notes, and snippets.

@ElvishJerricco
Created July 6, 2015 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ElvishJerricco/25a16ff62537ae1099be to your computer and use it in GitHub Desktop.
Save ElvishJerricco/25a16ff62537ae1099be to your computer and use it in GitHub Desktop.
/**
* Register a part factory with an array of types it is capable of instantiating. Must be called before postInit
*/
def registerParts(partFactory: IPartFactory2, types: Array[String]) {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment