|
-
Aug 26th, 2012, 11:01 AM
#2
Re: error: Object reference not set to an instance of an object.
Your classes don't make any sense at all. In Map you have a circular definition and a structure that consists of only one variable. In Tile you have a single variable but everywhere else refer to Tile as defined by two parameters. And what's happening in Layer is beyond me entirely. With the best will in the world you really don't know what you're doing, do you? This may help http://www.homeandlearn.co.uk/net/nets11p5.html although I suspect that you actually need a much more thorough grounding in the use of classes altogether.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|