C# Класс Protogame.OgmoLevelReader

The ogmo level reader.
Наследование: ILevelReader
Показать файл Открыть проект

Открытые методы

Метод Описание
OgmoLevelReader ( IKernel kernel, IHierarchy hierarchy ) : System
Read ( Stream stream, object context ) : IEnumerable

Creates the entities from the stream.

Read ( Stream stream, object context, Func filter ) : IEnumerable

Описание методов

OgmoLevelReader() публичный Метод

public OgmoLevelReader ( IKernel kernel, IHierarchy hierarchy ) : System
kernel IKernel
hierarchy IHierarchy
Результат System

Read() публичный Метод

Creates the entities from the stream.
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). ///
Результат IEnumerable

Read() публичный Метод

public Read ( Stream stream, object context, Func filter ) : IEnumerable
stream Stream
context object
filter Func
Результат IEnumerable