/// <summary> /// constructor /// </summary> /// <param name="drawScaleRuler">The Scale ruler that needs to be updated on screen and zoom sizes</param> public DrawArea(DrawScaleRuler drawScaleRuler) { AreaW = 1230; AreaH = 700; metersPerPixel = new DiscreteScale(); MouseLocation = new WorldLocation(0, 0, 0, 0, 0); // default mouse location far far away fontManager = FontManager.Instance; SetDrawArea(-1, 1, -1, 1); // just have a default this.drawScaleRuler = drawScaleRuler; }
int[][] orderFromLocation; // array that contains the order-index, given the x, and z-indexes of the subblock. #endregion /// <summary> /// Constructor. Just calling the base constructor /// </summary> public ShadowDrawArea(DrawScaleRuler drawScaleRuler) : base(drawScaleRuler) { shadowDrawArea = new ShadowDrawArea(); }