()
| 82 | boid.velocity /= boid.velocity.mag() / SPEED_LIMIT |
| 83 | |
| 84 | def build_boids(): |
| 85 | # Create boids variable. |
| 86 | global boids |
| 87 | boids = tuple(Boid(WIDTH, HEIGHT, OFFSET_START, FRAMES_PER_SEC) for boid in xrange(BOIDS)) |
| 88 | |
| 89 | ################################################################################ |
| 90 |
no test coverage detected