Example #1
0
 public Command(Direction d)
 {
     actType = Enumeration.Type.Move;
     dir1    = d;
     dir2    = null;
 }
Example #2
0
 public Command(Enumeration.Type t, Direction d1, Direction d2)
 {
     actType = t;
     dir1    = d1;
     dir2    = d2;
 }
Example #3
0
 public Command()
 {
     actType = Enumeration.Type.NoOp;
     dir1    = null;
     dir2    = null;
 }