Tagged Questions
5
votes
3answers
224 views
Deleting a game object causing an access violation
I tried doing this but it cause an access violation.
void GameObjectFactory::Update()
{
for( std::list<GameObject*>::iterator it=gameObjectList.begin() .....
(*it)->Update();
...
0
votes
1answer
667 views
Interactions between game objects
I'm programming a basic Pacman clone to teach myself game programming. However, I'm struggling with the best way to have the game objects communicate/interact without my code becoming a huge mess.
...
0
votes
0answers
230 views
How to use a structure variable array with a user defined function? [closed]
Hello I'm trying to figure out how to use a structure variable array like so :
This is the declaration of that struct :
typedef struct tagCORD {
LONG x;
LONG y;
} CORD, *CCORD;
This is the ...