C# 클래스 Protogame.OgmoLevelReader

The ogmo level reader.
상속: ILevelReader
파일 보기 프로젝트 열기: RedpointGames/Protogame

공개 메소드들

메소드 설명
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