Ctrl+K

WorldSerializer

Declaration

public static class tainicom.Aether.Physics2D.Common.WorldSerializer

Serialize the world into an XML file

Methods

Serialize static

Serialize the world to a stream in XML format

void Serialize(World world, Stream stream)

Parameters:

Name Type Description
world tainicom.Aether.Physics2D.Dynamics.World
stream System.IO.Stream

Deserialize static

Deserialize the world from a stream XML

World Deserialize(Stream stream)

Parameters:

Name Type Description
stream System.IO.Stream