Statemanager overriding draw function help!

Started by
2 comments, last by rip-off 10 years, 8 months ago

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?

Advertisement

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

It's pretty obvious im using Java.

Do not redact your posts.

This topic is closed to new replies.

Advertisement