Re: Code will not compile
Please don't post links to code. If there is a lot of code, post the relevant sections. Use CODE tags when posting code (see my sig, below).
If you want help with error messages, post the full error message text, and stack trace if present.
In theory, there is no difference between theory and practice, but not in practice...
Anon.
Re: Code will not compile
There are several reasons your code will not compile. Beyond getting it compile you have some additional problems but I'll leave that to you to ponder.
You define a public class Zone in the same file as your public class Darkness. The Zone class needs to be in a seperate file, otherwise you need to remove the public declaration and let the class be an inner class. You declare instances of class "zone" but your class starts with an upper case Z ("Zone").
Ray