Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 03 Apr 2011
Offline Last Active Aug 09 2013 01:11 PM

Topics I've Started

Statemanager overriding draw function help!

01 August 2013 - 12:00 PM

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?