private bool CheckForToolActivation() { foreach (IEdTool tool in Toolset) { if (tool.Active == false && tool.ActivationCheck() == true) { ResetTools(); tool.Active = true; tool.OnActivate(); ActiveTool = tool; return(true); } } return(false); }
public void AddTool(IEdTool tool) { Toolset.Add(tool); }