title: Java: Method is Not Applicable for Arguments
body: <p>Okay.  So, I'm a kid, trying to program a cool little 3d game, and then this... <em>issue</em> decides to take a crap on my next few days.</p>
  
  <p>I'm using Eclipse for my IDE.  When I insert <code>controls.tick(forward, back, left, right, turnLeft, turnRight);</code> ("controls" is, well, the controls for my game, and "tick" is the time which ties into steps, turning, time itself, etc.) Eclipse says <code>"The method 'tick'(boolean, boolean, boolean, boolean, boolean) in the type 'Controller' is not applicable for the arguments (boolean, boolean, boolean, boolean, boolean, boolean)"</code> and I'm beginning to get incredibly frustrated.  "forward, back, left, right, turnLeft, turnRight" are booleans designed to, well, be booleans, and prevent the camera from moving.  They are "linked" to keys that set it to true, to keep this short.  "Controller" is a .class file to "house" the controls, rotations, etc.</p>
  
  <p>So, what's an in-depth response of what I'm doing wrong?  It's important I don't add or take away any booleans from what I have.  Is there any way around this, and may I have a walkthrough?</p>
  
  <p>Here is my .class file that does the work:</p>
  
  <pre><code>package com.mime.ocelot;
  
  import java.awt.event.KeyEvent;
  
  import com.mime.ocelot.input.Controller;
  
  public class Game {
  
  public int time;
  public Controller controls;
  
  public Game() {
  
  }
  
  public void tick(boolean[] key) {
      time++;
      boolean forward = key[KeyEvent.VK_W];
      boolean back = key[KeyEvent.VK_S];
      boolean left = key[KeyEvent.VK_A];
      boolean right = key[KeyEvent.VK_D];
      boolean turnLeft = key[KeyEvent.VK_LEFT];
      boolean turnRight = key[KeyEvent.VK_RIGHT];
  
      controls.tick(forward, back, left, right, turnLeft, turnRight);
  
  }
  
  }
  </code></pre>
  
  <p>And here's the .class that is the actual controller:</p>
  
  <pre><code>package com.mime.ocelot.input;
  
  public class Controller {
  
  public double x, z, rotation, xa, za, rotationa;
  
  public void tick(boolean forward, boolean back, boolean right, boolean turnLeft, boolean turnRight) {
  
  }
  
  }
  </code></pre>