| 55 | Action::~Action(void) {} |
| 56 | |
| 57 | void |
| 58 | Action::decay(Space&, double d) { |
| 59 | if ((d < 0.0) || (d > 1.0)) |
| 60 | throw IllegalDecay("Action"); |
| 61 | acquire(); |
| 62 | object().invd = 1.0 / d; |
| 63 | release(); |
| 64 | } |
| 65 | |
| 66 | double |
| 67 | Action::decay(const Space&) const { |