* Add some amount to the total. */
| 178 | * Add some amount to the total. |
| 179 | */ |
| 180 | inline void ToolEffects::addCost(int amount) |
| 181 | { |
| 182 | assert(amount >= 0); // To be on the safe side. |
| 183 | this->cost += amount; |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Get the value of a map position. |
no outgoing calls
no test coverage detected