/** * Add a component to this entity. * @param component to add to this entity */ public void AddComponent(Component component) { System.Diagnostics.Debug.Assert(component != null); entityManager.AddComponent(this, component); }
/** * Add a component to this entity. * @param component to add to this entity */ public void AddComponent(Component component) { entityManager.AddComponent(this, component); }