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