Battleship game placement of boats error
<p>Ok i am inches away from finishing this game, but I am getting one error with the code:</p>

<pre><code>cshi.addActionListener(new VesselFunction());
</code></pre>

<p>it says VesselFunction cant be resolved to a type, but I have no clue why. If i delete the code, it compiles and the program runs but it only lets me place one boat, so I clearly need the code to work so it can call on other methods to place the remaining 4 boats. What should I do?</p>
