Ok so I am making a scenario where a floating boss constantly follows you.
In the human-controlled class I have:
and in the boss class I have:
The error I keep getting says non-static variable cannot be reference from a static context
Can anyone tell me what my problem is?
public int grumpyX = getX(); public int grumpyY = getY();
turnTowards(GrumpyFace.grumpyX, GrumpyFace.grumpyY);