Exemplo n.º 1
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        private CommonMC2D()
        {
            m_d2Stg = new D2StageFile();
            // 衝突判定用チップイメージ
            m_aCollisionChipImg = new Bitmap[36];
            int i;

            for (i = 0; i < 36; ++i)
            {
                m_aCollisionChipImg[i] = CopyCatRectangleBitmap(
                    global::EditorMC2D.Properties.Resources.colli_chip,
                    new Rectangle(i % 12 * 40, i / 12 * 40, 40, 40),
                    40
                    );
            }

            //-------------------------------------------
            // コンフィグ作成
            //-------------------------------------------
            m_config = APPConfig.Read();

            //--
            m_rectImg = global::EditorMC2D.Properties.Resources.gura;

            m_process = new ProcessMC2D();
            InitOutputWindowDatas();
        }
Exemplo n.º 2
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="stg">MC2D ステージファイル</param>
 public D2StageFileOpenedEventArgs(D2StageFile stg)
 {
     this.stageFile = stg;
 }