From 18fd4ceaa6e2799e85e08440e14eba13167b7089 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 25 Mar 2020 11:56:56 -0700 Subject: [PATCH] remove mutable get --- encompass-cs/Engine.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/encompass-cs/Engine.cs b/encompass-cs/Engine.cs index 2557b9f..36d0ccd 100644 --- a/encompass-cs/Engine.cs +++ b/encompass-cs/Engine.cs @@ -371,20 +371,6 @@ namespace Encompass return ref GetComponentHelper(entity.ID); } - /// - /// Returns a Component by reference with the specified Type that exists on the Entity. - /// - /// - /// Thrown when the Entity does not have a Component of the specified Type - /// - /// - /// Thrown when the Engine does not declare that it reads the given Component Type. - /// - protected ref TComponent GetComponentMutable(in Entity entity) where TComponent : struct, IComponent - { - return ref GetComponentHelper(entity.ID); - } - /// /// Returns true if the Entity has a Component of the given Type. ///