Search:

Type: Posts; User: Norm

Search: Search took 0.18 seconds.

  1. Replies
    6
    Views
    1,435

    Re: How to use more than one class?

    Where is the variable calculateLostHealth defined in the Battle class. The compiler can not find it.

    Check the syntax of the statements in the other error messages. The compiler is confused.
  2. Replies
    6
    Views
    1,435

    Re: How to use more than one class?

    Please copy the full text of the error messages and paste it here. Images can be hard to read and can't be copied and pasted in comments.
  3. Replies
    6
    Views
    1,435

    Re: How to use more than one class?

    Cut the code for each class (class statement through its ending }) out of the huge file and paste it into a file with the filename the same as the class name.
    You'll also have to copy some of the...
Results 1 to 3 of 3