C# Class WF.Compiler.EngineOpenWIG

Inheritance: IEngine
ファイルを表示 Open project: WFoundation/WF.Compiler Class Usage Examples

Public Methods

Method Description
ConvertCartridge ( Cartridge cartridge ) : Cartridge

Converts the Cartridge object in a format valid for the given engine.

- Convert Lua code - Convert strings in special format and insert any special code - Convert medias

ConvertString ( string text ) : string

Converts a string into GWC header file format.

EngineOpenWIG ( ) : System

Private Methods

Method Description
ConvertMedia ( Media media ) : MediaResource

Converts the media in a valid format for this player and returns a valid resource, if there are any.

Checks, which resource belongs to this player, change the size or format, if needed, and creates a MediaResource.

Method Details

ConvertCartridge() public method

Converts the Cartridge object in a format valid for the given engine.
- Convert Lua code - Convert strings in special format and insert any special code - Convert medias
public ConvertCartridge ( Cartridge cartridge ) : Cartridge
cartridge Cartridge Cartridge object to convert.
return Cartridge

ConvertString() public method

Converts a string into GWC header file format.
public ConvertString ( string text ) : string
text string Original string.
return string

EngineOpenWIG() public method

public EngineOpenWIG ( ) : System
return System