Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void AddItem(string item)
- {
- for (int i = 0; i < arrayItems.Length; i++)
- if (arrayItems[i] == "")
- {
- arrayItems[i] = item;
- }
- Console.WriteLine("{0} has been added to your inventory", item);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement