Method | Description | |
---|---|---|
OgmoLevelReader ( IKernel kernel, IHierarchy hierarchy ) : System | ||
Read ( Stream stream, object context ) : IEnumerable |
Creates the entities from the stream.
|
|
Read ( Stream stream, object context, Func |
public OgmoLevelReader ( IKernel kernel, IHierarchy hierarchy ) : System | ||
kernel | IKernel | |
hierarchy | IHierarchy | |
return | System |
public Read ( Stream stream, object context ) : IEnumerable |
||
stream | Stream | The stream which contains an Ogmo Editor level. |
context | object | /// The context in which entities are being spawned in the hierarchy. This is /// usually the current world, but it doesn't have to be (e.g. if you wanted to /// load a level under an entity group, you would pass the entity group here). /// |
return | IEnumerable |
public Read ( Stream stream, object context, Func |
||
stream | Stream | |
context | object | |
filter | Func |
|
return | IEnumerable |