C# Class GLSharp.Universe.ComponentCollection

Manages a collection of components.
Exibir arquivo Open project: colin-dumitru/GLSharp

Public Methods

Method Description
AddComponent ( Component component ) : System.Boolean

Adds a component to the collection. If the component is not a known type it is ignored.

AddKnownType ( String type ) : void
GetCollection ( String type ) : List
RemoveComponent ( Component component ) : System.Boolean

Removes a component to the collection. If the component is not a known type it is ignored.

RemoveKnowType ( String type ) : void

Method Details

AddComponent() public method

Adds a component to the collection. If the component is not a known type it is ignored.
public AddComponent ( Component component ) : System.Boolean
component Component The component to add.
return System.Boolean

AddKnownType() public method

public AddKnownType ( String type ) : void
type String
return void

GetCollection() public method

public GetCollection ( String type ) : List
type String
return List

RemoveComponent() public method

Removes a component to the collection. If the component is not a known type it is ignored.
public RemoveComponent ( Component component ) : System.Boolean
component Component The component to remove.
return System.Boolean

RemoveKnowType() public method

public RemoveKnowType ( String type ) : void
type String
return void