I need to make a score variable in one actor pass and be updated by another actor. I know I am using the constructor wrong. Can anyone help?
Here is the code for the first actor:
public class Fisherman extends Animal
{
protected int score = 0;
public int setScore()
{
score = ++;
return score;
}
which is called by the second actor:
if (canSee(Fish.class))
{
eat(Fish.class);
setScore();
fishCount --;
any thoughts?

