/// <summary> /// 複製 /// </summary> /// <returns></returns> public void Clone(out MCSpriteCat ret) { ret = new MCSpriteCat(); ret.pos = pos; ret.FlgY = FlgY; ret.FlgX = FlgX; }
/// <summary> /// 複製セットする /// </summary> /// <param name="r"></param> public void Set(MCDrawSprite r) { Set((MCDrawSpriteBase)r); for (int i = 0; i < 4; ++i) { m_aColor[i] = r.m_aColor[i]; } m_cat = r.m_cat; m_spSprite = r.m_spSprite; m_divNo = r.m_divNo; }