Private
Public Access
Added pen color
This commit is contained in:
1 parent
7a98404d4b
commit
f3316955b5
4 files changed
+65
-1
No files matched your search
@@ -144,8 +144,11 @@ namespace Advanced_Software_Engineering {
|
||||
} else throw new Exception("Command doesn't take parameters");
|
||||
|
||||
case "pen":
|
||||
if(parameters.Length == 1) {
|
||||
return new PenColor(drawer, Value.TextToColor(parameters[0]));
|
||||
} else throw new Exception("Command has an incorrect number of parameters");
|
||||
case "fill":
|
||||
throw new Exception("Not implemented");
|
||||
|
||||
|
||||
default:
|
||||
throw new Exception("Command not found");
|
||||
|
||||
Reference in new issue
Block a user