C# Class uFrame.ECS.EcsComponentManager

Inheritance: IEcsComponentManager
ファイルを表示 Open project: InvertGames/uFrame.ECS

Public Methods

Method Description
ForEntity ( int entityId ) : IEcsComponent
Match ( int entityId ) : bool
RegisterComponent ( IEcsComponent item ) : void
UnRegisterComponent ( IEcsComponent item ) : void

Protected Methods

Method Description
AddItem ( IEcsComponent component ) : void
RemoveItem ( IEcsComponent component ) : void

Method Details

AddItem() protected abstract method

protected abstract AddItem ( IEcsComponent component ) : void
component IEcsComponent
return void

ForEntity() public abstract method

public abstract ForEntity ( int entityId ) : IEcsComponent
entityId int
return IEcsComponent

Match() public abstract method

public abstract Match ( int entityId ) : bool
entityId int
return bool

RegisterComponent() public method

public RegisterComponent ( IEcsComponent item ) : void
item IEcsComponent
return void

RemoveItem() protected abstract method

protected abstract RemoveItem ( IEcsComponent component ) : void
component IEcsComponent
return void

UnRegisterComponent() public method

public UnRegisterComponent ( IEcsComponent item ) : void
item IEcsComponent
return void