Solved Two Constructors in One Class

Discussion in 'Plugin Development' started by exload, Oct 18, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    exload

    So basically what I am trying to create is a paged help menu for a plugin that I am creating. (I may release this class publicly for others to use in their own work.)
    Code: http://pastebin.com/8Sur0pgt
    It is working properly, but if I try create an object in another class using the second constructor, with three arguments, it will not work. It will only "see" the first constructor.
    Any help? Also any recommendations on how to improve performance of this code would be appreciated.
    Any other info I can provide if needed.
     
  2. Offline

    JazzaG

    exload

    What have you tried? How do you know "it will only see the first constructor"? That paste looks completely fine to me :S
     
  3. it may be your ide messing something up, try restarting the ide if solving the code does not work
     
  4. Offline

    exload

    You were absolutely right. Restarted IDE and works fine now.. Odd. Thanks though! :D
     
Thread Status:
Not open for further replies.

Share This Page