Beispiel #1
0
 public void AddComponent(SquidEngine.Components.SquidComponent component)
 {
     component.SetOwner(this);
     if (IsRegistered)
     {
         component.OnRegister();
     }
     _components.Add(component);
 }
Beispiel #2
0
        public virtual void CopyValuesTo(object target)
        {
            SquidComponent component = target as SquidComponent;

            component.Enabled = this.Enabled;
        }