Home Reference Source
import ComponentRepository from 'glboost/src/low_level/core/ComponentRepository.js'
public class | source

ComponentRepository

Static Member Summary

Static Public Members
public static
Static Private Members
private static

Static Method Summary

Static Public Methods
public static

Constructor Summary

Public Constructor
public

constructor(enforcer: Symbol)

Member Summary

Private Members
private
private

__components: Map<ComponentTID, Map<ComponentSID, Component>>

Method Summary

Public Methods
public

createComponent(componentClass: constructor): *

Static Public Members

public static [singleton]: * source

Static Private Members

private static __singletonEnforcer: Symbol source

Static Public Methods

public static getInstance(): * source

Return:

*

Public Constructors

public constructor(enforcer: Symbol) source

Params:

NameTypeAttributeDescription
enforcer Symbol

Private Members

private __component_sid_count_map: Map<ComponentTID, number> source

private __components: Map<ComponentTID, Map<ComponentSID, Component>> source

Public Methods

public createComponent(componentClass: constructor): * source

Params:

NameTypeAttributeDescription
componentClass constructor

Return:

*