Hashes / Dictionaries / LookupsMonkey Forums/Monkey Beginners/Hashes / Dictionaries / Lookups
| Hi - I'm pretty new to Monkey...|
Just wondering the easiest way to create a string based hash lookup or dictionary like object?
My goal is for creating a simple asset manager. I want to lookup a asset by it's name and if not found then load it dynamically and cache it for next time. If there's any example code for something like this that would be great.
| I do something similar with Diddy's images and sounds maps which uses the built in StringMap object:|
Class ImageBank Extends StringMap<GameImage>
| Perfect! StringMap was what I needed - Thanks. :-) |