|
-
November 16th, 2009, 10:29 AM
#1
How to in C#
I am writing a small board game using a Windows Form. I have a class called "Player" which stored the information for all of the players that are playing. I am able to create an array of "Player" objects that will be used for data storage. What I am having trouble doing is figuring out where to put my code that creates this array so that I can access/update information within it depending on what buttons are clicked within the form. I am kind of learning this as I go so any help would be greatly appreciated.
Thanks.
-
November 16th, 2009, 03:01 PM
#2
Re: How to in C#
You can create a separate class that will do all the operations on the players, like move, change color, etc.
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
|