Interface IEntityComponent<TArg>
- Namespace
- Frent.Components
- Assembly
- Frent.dll
Indicates a component should be updated with itself as an argument and the specified components
public interface IEntityComponent<TArg> : IComponentBase
Type Parameters
TArg
Remarks
Components should only implement one "Update" method.
Methods
Update(Entity, ref TArg)
Updates this component
void Update(Entity self, ref TArg arg)
Parameters
self
Entityarg
TArg