public void StartSelection(short gridX, short gridY) { this.activity = SelectActivity.Working; this.xStart = gridX; this.xEnd = gridX; this.yStart = gridY; this.yEnd = gridY; }
private void EndSelection() { this.activity = SelectActivity.HasSelection; // If we're currently using selection as a temporary tool, force it to be an active tool now that we have a selected area. if (EditorTools.tempTool is FuncToolSelect) { EditorTools.SetFuncTool(this); } }
public void ClearSelection() { this.activity = SelectActivity.None; this.xEnd = this.xStart; this.yEnd = this.yStart; }