Ok, so i'm trying to make a if than statement that required two actions two happen in order to allow the secondary method to happen. I was wondering if anyone could help me out and tell me what im doing wrong.
The error message reads
if (canSee(Anthill.class) && F = 1) { setImage("ant.png"); }
bad operand types for binary operator '&&'
first type: boolean; second type: int;
Thanks in advance for any advice!