BLUELOVETH hace 2 años
padre
commit
13eed14805
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/modules/box2d.md

+ 1 - 1
docs/modules/box2d.md

@@ -145,5 +145,5 @@ class Body:
 import box2d
 
 world = box2d.World()
-body = world.create_body()
+body = box2d.Body(world)
 ```