Review questions


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 ?



Software Engineering and Computer Games
Software Engineering and Computer Games
ISBN: B00406LVDU
EAN: N/A
Year: 2002
Pages: 272

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net