public UnhandledField(Coord position, List <Coord> path, int distance)
 {
     Position = position;
     Path     = path;
     Distance = distance;
 }
Exemple #2
0
 public Note(Coord pos, string text)
 {
     Id  = PaintAbles.GlobalId++;
     Pos = pos;
     SetText(text);
 }
Exemple #3
0
 public Cursor(Coord c)
 {
     Pos = c;
 }
Exemple #4
0
 public Cursor Move(Coord delta)
 {
     return(new Cursor(Pos.Move(delta)));
 }
Exemple #5
0
 public Label Move(Coord delta)
 {
     return(new Label(Id, Pos.Move(delta), Text, Direction));
 }
Exemple #6
0
 public Label(Coord pos, string text)
 {
     Id   = PaintAbles.GlobalId++;
     Text = text;
     Pos  = pos;
 }
Exemple #7
0
 public Line Move(Coord delta)
 {
     throw new NotImplementedException();
 }
Exemple #8
0
 public UmlUser(Coord pos, string text)
 {
     Id   = PaintAbles.GlobalId++;
     Pos  = pos;
     Text = text;
 }
Exemple #9
0
 public UmlUser Move(Coord delta)
 {
     Pos = Pos.Move(delta);
     return(this);
 }