Private
Public Access
Refactored Commands into VerbFactory
This commit is contained in:
1 parent
b5723ec5bc
commit
731005fc9b
3 files changed
+2
-10
No files matched your search
+1
-1
@@ -82,7 +82,7 @@
|
|||||||
<Compile Include="Windows\AboutWindow.Designer.cs">
|
<Compile Include="Windows\AboutWindow.Designer.cs">
|
||||||
<DependentUpon>AboutWindow.cs</DependentUpon>
|
<DependentUpon>AboutWindow.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Command.cs" />
|
<Compile Include="Verbs\VerbFactory.cs" />
|
||||||
<Compile Include="Commander.cs" />
|
<Compile Include="Commander.cs" />
|
||||||
<Compile Include="Drawer.cs" />
|
<Compile Include="Drawer.cs" />
|
||||||
<Compile Include="Windows\DrawPreview.cs">
|
<Compile Include="Windows\DrawPreview.cs">
|
||||||
|
|||||||
+1
@@ -84,6 +84,7 @@ namespace Advanced_Software_Engineering {
|
|||||||
return double.Parse(text);
|
return double.Parse(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: Make unit tests for this function
|
||||||
public static Point ConvertToPoint(string text1, string text2) {
|
public static Point ConvertToPoint(string text1, string text2) {
|
||||||
return new Point(ConvertToInt(text1), ConvertToInt(text2));
|
return new Point(ConvertToInt(text1), ConvertToInt(text2));
|
||||||
}
|
}
|
||||||
|
|||||||
-9
@@ -139,13 +139,4 @@ namespace Advanced_Software_Engineering {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class Value {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class FlowControl //: Verb //This one will help us in part 2
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user