Original Post
I've looked around and can't seem to find the answer.
Here is my multimap and an attempt at my idea of what I want to do:
[source lang="cpp"] // declared multimap of x/y/object
std::multimap*> gameObj;
// pseodo code of what I want to do:
GameObject* tempObj = new GameObject;
gameObj.insert({ 1, { 1, tempObj });[/source]
Any ideas?
Here is my multimap and an attempt at my idea of what I want to do:
[source lang="cpp"] // declared multimap of x/y/object
std::multimap
// pseodo code of what I want to do:
GameObject* tempObj = new GameObject;
gameObj.insert({ 1, { 1, tempObj });[/source]
Any ideas?