C# Class Entitas.CodeGenerator.ComponentIndicesGenerator

Inheritance: IContextCodeGenerator, IComponentCodeGenerator
ファイルを表示 Open project: sschmid/Entitas-CSharp Class Usage Examples

Public Methods

Method Description
Generate ( ComponentInfo componentInfos ) : Entitas.CodeGenerator.CodeGenFile[]
Generate ( string contextNames ) : Entitas.CodeGenerator.CodeGenFile[]

Private Methods

Method Description
addClassHeader ( string lookupTag ) : string
addCloseClass ( ) : string
addComponentNames ( ComponentInfo componentInfos ) : string
addComponentTypes ( ComponentInfo componentInfos ) : string
addIndices ( ComponentInfo componentInfos ) : string
generateIndicesLookup ( string lookupTag, ComponentInfo componentInfos ) : string
getLookupTagToComponentInfosMap ( ComponentInfo componentInfos ) : ComponentInfo[]>.Dictionary

Method Details

Generate() public method

public Generate ( ComponentInfo componentInfos ) : Entitas.CodeGenerator.CodeGenFile[]
componentInfos ComponentInfo
return Entitas.CodeGenerator.CodeGenFile[]

Generate() public method

public Generate ( string contextNames ) : Entitas.CodeGenerator.CodeGenFile[]
contextNames string
return Entitas.CodeGenerator.CodeGenFile[]