public override void Preparation(MHEngine engine) { if (AvailabilityStatus) return; // Already prepared m_nBoxWidth = m_nOriginalBoxWidth; m_nBoxHeight = m_nOriginalBoxHeight; m_nPosX = m_nOriginalPosX; m_nPosY = m_nOriginalPosY; m_PaletteRef.Copy(m_OriginalPaletteRef); // Add a reference to this to the display stack. engine.AddToDisplayStack(this); base.Preparation(engine); }