title: Call Multiple Methods on one Line?
body: <p>If I have a line like this in my program:</p>
  
  <pre><code>fireBalls.add(new Fireball(tileMap).setPosition(20, 20)); // set position is a method of the fireball class 
  </code></pre>
  
  <p>How can I call multiple methods like that, on that same line?</p>
  
  <p>I tried this:</p>
  
  <pre><code>fireBalls.add(new Fireball(tileMap).setPosition(20, 20).setLeft());
  </code></pre>
  
  <p>But the <code>setLeft()</code> method can't be put there, as it can't be called on a void type.
  I can't have them on separate lines, as I don't know what index it would be in the fireBalls ArrayList.</p>