Ejemplo n.º 1
0
 public void OnMouseUp(Editor editor, UIView view)
 {
     editor.RemoveExistingTilesBetween(editor.startPoint, editor.currentPoint);
     editor.RemoveWallsBetween(
         editor.startPoint.ConvertToTilePosition(Gc.TILE_SIZE),
         editor.currentPoint.ConvertToTilePosition(Gc.TILE_SIZE));
 }
Ejemplo n.º 2
0
 public void OnMouseUp(Editor editor, UIView view)
 {
     if (view.LeftClick) editor.PlaceTile(editor.startPoint, editor.currentPoint);
     else editor.RemoveExistingTilesBetween(editor.startPoint, editor.currentPoint);
 }