Hi Trienco, Thanks for the help and the advice, what you present seems to be a good solution to go off of. I think my originial intention with the map container over the array was that I wanted to have a string key that I could easily reference the items by. The items in the container are similar and inherit from an abstract base item class. The end game was to use this as part of an inventory system for a game. Not necessarily what the player is carrying but what they are storing into an external container in game. This container has actions that it takes much like an AI player. I was really tied to the idea of item lookup through string key. Thank you all for your comments and help. I'll be thinking through this much more in depth.
SoundstoneMember Since 28 Jan 2013
Offline Last Active Nov 07 2013 11:28 PM
- Group Members
- Active Posts 3
- Profile Views 527
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
Soundstone hasn't added any contacts yet.
No latest visitors to show