Private
Public Access
Better InitialiseVariable is now DeclareVariable
This commit is contained in:
1 parent
94e3597f75
commit
5663aca3ea
2 files changed
+23
-22
No files matched your search
+23
@@ -0,0 +1,23 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Advanced_Software_Engineering.Verbs.Value {
|
||||||
|
|
||||||
|
public class DeclareVariable : IVerb {
|
||||||
|
private Drawer drawer;
|
||||||
|
private IValue value;
|
||||||
|
private string name;
|
||||||
|
|
||||||
|
public DeclareVariable(Drawer drawer, string type, string assgnment) {
|
||||||
|
this.drawer = drawer;
|
||||||
|
|
||||||
|
value = ValueFactory.CreateValue(type, assgnment);
|
||||||
|
}
|
||||||
|
|
||||||
|
void IVerb.ExecuteVerb() {
|
||||||
|
}
|
||||||
|
|
||||||
|
string IVerb.GetDescription() {
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
-22
@@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Advanced_Software_Engineering.Verbs.Value {
|
|
||||||
public class InitialiseVariable : IVerb {
|
|
||||||
|
|
||||||
public InitialiseVariable(Drawer drawer, string type, string assgnment) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void IVerb.ExecuteVerb() {
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
string IVerb.GetDescription() {
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user