So I have an enemy that tries to attack my main character: Jellie.  It is supposed to follow Jellie by constantly facing it.  However, I used Jellie.getX(), and Jellie.getY(), and I got the error message; "non-static method getX(), cannot be referenced from a static context."
How would I go about getting Jellie's X and Y to the Baddie?
   
   
             
          
        
