public ParalaxBackground(string filename) { m_textureFile = filename; mTileX = true; mTileY = false; TypeConverterRegistration.Register <Vector2, Vector2Converter>(); layerDepth = 0; m_Offset = new Vector2(0, 0); mXScrollerComponent = new NullScroller(); mYScrollerComponent = new NullScroller(); }
public Camera2d() { TypeConverterRegistration.Register <Vector2, Vector2Converter>(); InitializeComponent(); }