public Component Spawn(string command, string args = "") { var component = new Component(this, _harbor, command, args); this.Components.Add(component); _harbor.Render(); return component; }
public void Despawn(Component component) { this.Components.Remove(component); if (this.Components.Count == 0) this._harbor.Despawn(this); }