public void create(Component component) { component.load(); common.Add(component); if (component.isDrawable) { drawable.Add((Drawable)component); if (component.isSolid) { physics.colliders.Add(((Solid)component).collision); } } }