12345678910111213141516171819202122 |
- using System;
- using System.Collections.Generic;
- using PixiEditor.Models.Position;
- using PixiEditor.Models.Tools;
- namespace PixiEditorTests.ModelsTests.ControllersTests
- {
- public class TestReadonlyTool : ReadonlyTool
- {
- public TestReadonlyTool(Action toolAction)
- {
- ToolAction = toolAction;
- }
- public Action ToolAction { get; set; }
- public override void Use(List<Coordinates> pixels)
- {
- ToolAction();
- }
- }
- }
|