remove mutable get
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/3/head
Evan Hemsley 2020-03-25 11:56:56 -07:00
parent df4a953628
commit 18fd4ceaa6
1 changed files with 0 additions and 14 deletions

View File

@ -371,20 +371,6 @@ namespace Encompass
return ref GetComponentHelper<TComponent>(entity.ID);
}
/// <summary>
/// Returns a Component by reference with the specified Type that exists on the Entity.
/// </summary>
/// <exception cref="Encompass.Exceptions.NoComponentOfTypeOnEntityException">
/// Thrown when the Entity does not have a Component of the specified Type
/// </exception>
/// <exception cref="Encompass.Exceptions.IllegalReadException">
/// Thrown when the Engine does not declare that it reads the given Component Type.
/// </exception>
protected ref TComponent GetComponentMutable<TComponent>(in Entity entity) where TComponent : struct, IComponent
{
return ref GetComponentHelper<TComponent>(entity.ID);
}
/// <summary>
/// Returns true if the Entity has a Component of the given Type.
/// </summary>