Particle Constructor |
Name | Description | |
---|---|---|
![]() | Particle() |
Default constructor to be used with member initializers to set member
values
|
![]() | Particle(DrawingWindow) |
Initializes a particle with a random position and velocity.
The position is uniform in the unit box; the velocity in
either direciton is chosen uniformly at random. Member initializers
will replace these random values. |