コード例 #1
0
        public UIScreen(OnafMain main)
        {
            Main = main;

            ShowDebug = true;

            _recordSpin = (float)Rand.NextDouble() * 100;

            SetStateNextFrame(UIState.MainMenu);

            _chillbarOffset = Rand.Next(0, (int)WindowSize.Y);
        }
コード例 #2
0
ファイル: Level.cs プロジェクト: einsteinsci/ICanMakeAClone
        public Level(OnafMain main)
        {
            Main = main;

            Laptop = new Laptop(this);
            Office = new Office(this);

            Monsters = new MonsterManager(this);

            LaptopBattery = 1.0f;

            VolumeController = new SoundVolumeController();

            CHEAT_InfiniteExposure = false;
            CHEAT_InfiniteBattery  = false;
            CHEAT_MapDebug         = true;
            CHEAT_MonstersStayPut  = false;
            CHEAT_OwlInvincibility = false;

            Bot = new PlayerMouseInput(this);
        }