| 60 | } |
| 61 | |
| 62 | void add_json(J& a, J b) { |
| 63 | for(auto i : b["passive"]) { |
| 64 | a["passive"].append(i); |
| 65 | } |
| 66 | for(auto i : b["hit"]) { |
| 67 | a["hit"].append(i); |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | Fish::Fish(int _hp, int _atk, int _def, int _pos, int _id, FishSet* _ally, FishSet* _hostile): |
| 72 | hp(_hp), atk(_atk), def(_def), pos(_pos), id(_id), ally(_ally), hostile(_hostile) { |
no outgoing calls
no test coverage detected