Пример #1
0
        private void Initialize(object sender)
        {
            font.LoadFont("arial");
            Icon = Resources.GetIcon("new_icon");

            WindowInitialization();
            GameInitilaztion();
        }
Пример #2
0
        private void Initialize(object sender)
        {
            Icon  = Resources.GetIcon("new_icon");
            VSync = VSyncMode.On;

            font.LoadFont("opensans");

            MobaUI = new GameObject()
                     .WithName("Moba UI")
                     .WithParent(MainScene)
                     .AddComponent(new MobaUI(font));
        }