-
Notifications
You must be signed in to change notification settings - Fork 4
IdCollection
Joe Williamson edited this page Dec 3, 2017
·
1 revision
IdCollection provides a way to define and manage global collections of objects which each have a unique ID (of any type), which are known at compile time. This is intended to be used to easily define and access definitions for characters, levels, upgrades etc..
- Easily define and access definitions for characters, levels, upgrades etc.
- Build macro automatically creates a singleton with static methods to manipulate it conveniently
- Creates both an array for fast iteration and map for fast access
- ID can be any type
- Automatically create named fields for members, so IDs can be seen in auto-complete (TODO)