Beispiel #1
0
 public static UndoRedoAction RopeRemoved(Rope rope)
 {
     return new UndoRedoAction(null, UndoRedoType.RopeRemoved, rope, null);
 }
Beispiel #2
0
 public RopeAnchor(Board board, int x, int y, Rope parentRope)
     : base(board, x, y)
 {
     this.parentRope = parentRope;
 }
Beispiel #3
0
 private void CreateRope()
 {
     lock (Board.ParentControl)
     {
         Rope rope = new Rope(Board, X, Y, Y, false, Board.SelectedLayerIndex, true);
         Board.BoardItems.Ropes.Add(rope);
         BindItem(rope.FirstAnchor, new Xna.Point());
         BindItem(rope.SecondAnchor, new Xna.Point());
     }
 }
Beispiel #4
0
 public RopeAnchor(Board board, int x, int y, Rope parentRope)
     : base(board, x, y)
 {
     this.parentRope = parentRope;
 }