Exemplo n.º 1
0
 public final void add(SceneNode node) {
   rootNode.add(node);
   Registry.getRenderer().addToSetupQueue(node);
 }
Exemplo n.º 2
0
 public void allocate() {
   if (isAllocated) return;
   textureID =
       String.valueOf(Registry.getTextureLibrary().loadTexture(textureResourceID, hasMipMap));
   isAllocated = true;
 }