예제 #1
0
        public override void onAddedToEntity()
        {
            // prep IMGUI for use
            IMGUI.init(Graphics.instance.bitmapFont);

            _miner        = entity.scene.findObjectOfType <BehaviorTreeMiner>();
            _utilityMiner = entity.scene.findObjectOfType <UtilityMiner>();
            _goapMiner    = entity.scene.findObjectOfType <GOAPMiner>();
        }
예제 #2
0
파일: Game1.cs 프로젝트: fusspawn/Nez
        protected override void Initialize()
        {
            base.Initialize();

            Window.AllowUserResizing = true;

            // prep IMGUI for use
            IMGUI.init(Graphics.instance.bitmapFont);
            scene = Scenes.sceneOne();
        }