Exemplo n.º 1
0
 /// <summary>
 /// Physics Body to stream the world around
 /// </summary>
 public void StreamForBody(Body physicsBody, object blockLock)
 {
     m_renderKernel = new BodyRenderKernel(physicsBody, TilesPerBlockWidth, WorldWidth, WorldHeight, m_font);
     m_renderKernel.Update();
     LoadBlock(blockLock);
 }
 /// <summary>
 /// Physics Body to stream the world around
 /// </summary>
 public void StreamForBody(Body physicsBody, object blockLock)
 {
     m_renderKernel = new BodyRenderKernel(physicsBody, TilesPerBlockWidth, WorldWidth, WorldHeight, m_font);
     m_renderKernel.Update();
     LoadBlock(blockLock);
 }