|
|
@ -41,6 +41,7 @@ namespace Smoll { |
|
|
|
parent.actionables.Sort(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public Entity(Layer parent) { |
|
|
|
this.parent = null; |
|
|
|
components = new List<Component>(); |
|
|
@ -51,6 +52,7 @@ namespace Smoll { |
|
|
|
layers = new List<Layer>(); |
|
|
|
layers.Add(parent); |
|
|
|
} |
|
|
|
|
|
|
|
public void Attach(Component component) { |
|
|
|
component.owner = this; |
|
|
|
components.Add(component); |
|
|
|