• Advertisement
Sign in to follow this  

Statemanager overriding draw function help!

This topic is 1634 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I got a state manager class setup, so far so good.

 

My game starts with the state "menuState" and I choose my "help" option in the start menu screen to show me controllers or something.

 

So I override my class "draw(Graphics2D g)" (wich is the function for drawing the "menuState" wich draw all the menuoptions with a simple drawstring) and name it "drawHelp(Graphics2D g) and I get an error when calling drawHelp() or drawHelp(Graphics2D g).

 

Im so horrible at OOP so atm my mind is blank.. How can I solve this?

Edited by rip-off
Unredact

Share this post


Link to post
Share on other sites
Advertisement

Step one would be to mention what programming language you are using. Then you might try saying what error your program got.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement