Sign in to follow this  
Touche123

Statemanager overriding draw function help!

Recommended Posts

Touche123    94

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
SiCrane    11839

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this