I wrote the following code:
But when i run it, it gives the following error:
Cannot find symbol - method drawString(int, int, int)
Are there any imports i need? Is there a special Greenfoot only method i can use to do this? Thanks!
1 2 3 | public void drawVitals(){ drawString(health, 1 , 1 ); } |