title: How to tie one variable to another
body: <p>I have this bit of code:</p>
  
  <pre><code>Brick brick1= new Brick(parent.X - 1,parent.Y);
  </code></pre>
  
  <p>X &amp; Y are integers,</p>
  
  <p>Basiclly what i want to do is: when the x of the parent brick changes, the x of brick1 changes,where it dosnt matter the value of <code>parent.X</code>, <code>brick1.X</code> will always be equal to <code>parent.X - 1</code></p>
  
  <p>Is there an way of accomplishing this?</p>