コード例 #1
0
ファイル: GuiComponent.cs プロジェクト: steffan88/Bevelle
        public void AddGuiComponent(GuiComponent component)
        {
            if (component == null)
                throw new Exception("Component can't be null");

            _components.Add(component);
        }
コード例 #2
0
ファイル: GuiSystem.cs プロジェクト: steffan88/Bevelle
 public static void AddGuiComponent(GuiComponent comp)
 {
     _componentsToAdd.Add(comp);
 }