コード例 #1
0
        /* ********************************************************* */
        //! Set Deep-Copy Cell

        /*!
         * @param	cellMapOutput
         *      destination CellMap
         * @param	indexCellOutput
         *      destination index of cell
         * @param	cell
         *      source Cell
         * @retval	Return-Value
         *      true == Success<br>
         *      false == Failure (Error)
         *
         * Set a deep-copy of "cell" in cell of �hindexCellOutput�h in CellMap.<br>
         */
        public static bool CopyDeep(Library_SpriteStudio6.Data.CellMap cellMapOutput,
                                    int indexCellOutput,
                                    ref Library_SpriteStudio6.Data.CellMap.Cell cell
                                    )
        {
            return(Library_SpriteStudio6.Utility.Cell.CopyDeep(cellMapOutput, indexCellOutput, ref cell));
        }
コード例 #2
0
        /* ********************************************************* */
        //! Shallow-Copy Cell

        /*!
         * @param	cellOutput
         *      destination cell
         * @param	cell
         *      original Cell
         * @retval	Return-Value
         *      New Cell
         *
         * Creates shallow-copy of specified cell.<br>
         * <br>
         * Created CellMap has following specifications.<br>
         * <br>
         * - member "Name" and contents of "Mesh" refer to the same instance in "cell"<br>
         */
        public static bool CopyShallow(ref Library_SpriteStudio6.Data.CellMap.Cell cellOutput, ref Library_SpriteStudio6.Data.CellMap.Cell cell)
        {
            return(Library_SpriteStudio6.Utility.Cell.CopyShallow(ref cellOutput, ref cell));
        }