Beispiel #1
0
        private void ActivateTool(Tool tool)
        {
            CurrentActiveToolWrapper?.OnToolDeselected();

            CurrentActiveToolWrapper = toolSet[tool];

            CurrentActiveToolWrapper.OnToolSelected();
        }
Beispiel #2
0
 public void AddTool(Tool tool, IToolWrapper toolWrapper)
 {
     toolSet[tool] = toolWrapper;
     toolSetController.AddTool(tool);
 }
Beispiel #3
0
 public bool hitWithTool(IToolWrapper t) => false;
Beispiel #4
0
 public void CopyEnchantments(IToolWrapper source, IToolWrapper destination)
 {
 }