コード例 #1
0
ファイル: ToolManager.cs プロジェクト: nian0601/MobileGame
        public static void Initialize()
        {
            HasActiveSelection = false;
            SelectionTopLeft = new Point(0, 0);
            SelectionBottomRight = new Point(0, 0);

            ShowPasteTarget = false;

            Selector = new Selector();
            TileCreator = new TileCreator();
            CopyPaster = new CopyPaster();
            ColliderMaker = new ColliderMaker();
            JumpThroughMaker = new JumpThroughMaker();
        }
コード例 #2
0
ファイル: ToolManager.cs プロジェクト: nian0601/MobileGame
        public static void Initialize()
        {
            HasActiveSelection = false;
            SelectionTopLeftIndex = new Point(0, 0);
            SelectionBottomRightIndex = new Point(0, 0);

            ShowPasteTarget = false;

            Selector = new Selector();
            TileCreator = new TileCreator();
            CopyPaster = new CopyPaster();
            ColliderMaker = new ColliderMaker();
            JumpThroughMaker = new JumpThroughMaker();
            LightPlacer = new LightsPlacer();

            prevEditMode = 0;
        }