コード例 #1
0
        public static InputProcessorComponent EditingMode(Nocubeless nocubeless)
        {
            var editingMode = new InputProcessorComponent(nocubeless);

            editingMode.Add(new EditingCameraInputProcessor(nocubeless));
            editingMode.Add(new EditingCubeCursorInputProcessor(nocubeless));
            return(editingMode);
        }
コード例 #2
0
        public static InputProcessorComponent PlayingMode(Nocubeless nocubeless)
        {
            var playingMode = new InputProcessorComponent(nocubeless);

            playingMode.Add(new PlayingCameraInputProcessor(nocubeless));
            playingMode.Add(new PlayerEntityInputProcessor(nocubeless));
            playingMode.Add(new PlayingCubeInteractionsInputProcessor(nocubeless));
            return(playingMode);
        }
コード例 #3
0
 public NocubelessInputProcessorSelector(Nocubeless nocubeless) : base(nocubeless)
 {
     playingInput = InputProcessorComponentFactory.PlayingMode(Nocubeless);
     editingInput = InputProcessorComponentFactory.EditingMode(Nocubeless);
 }