Hallo,
In my game the player can create some entity in runtime.
I would like to know how I could create one pointer dinamic for this entity.
I have this code:
Entity* name;
But this code I have to write it before the action. I would like to create this code into one fuction like:
Function CreateEntityDim()
{
...
Entity* name;
...
}
I tried to do this, but it is not possible.
Someone knows how I could program this code into the function?
Thanks