Software Engineering and Computer Games

A

What does the default cCritter::collide method do? Which quantities does it conserve ?

B

How many pairs of critters can be found in a set of ten critters? In a set of 100 critters?

C

What is the meaning of the cCritter _collidepriority field? How is it used in the cCritter::collidesWith method? And, finally, where is the collidesWith method used?

D

Where does the Pop Framework keep a cCollider *_pcollider object? What is the purpose of this cCollider object?

E

Why does the Pop Framework choose to implement cCollider as a linked list instead of as an array?

F

How does the cCritterWall::collide differ from the normal cCritter::collide ?

Категории