nisarga

nisarga

  • NA
  • 3
  • 0

Help writing an array for adventure

Mar 20 2005 11:31 AM
Hi Folks, I am new to C Sharp. This probably already exists somewhere, yet I have not found it. I would like your help in writing an array that lists some things like: a treasure chest; a knapsack; and their contents - and then display the contents of each container one at a time in a text box (duration of the display is 2 seconds for each contents item - the reason to display the contents items one at a time is that I want the player to pay an energy penalty for forgetting what he is carrying and having to take inventory). The other feature that you can probably guess is the ability to add or remove items from either the treasure chest or the knapsack and/or to pick up a new container like a briefcase (in other words a dynamic array). Thanks in advance for your help, James

Answers (2)