Closed AoifeHughes closed 1 year ago
When a team is created it should have each Pokemon be a new object. This points to weird errors where the same Pokemon could be edited multiple times in the same battle if there is 2x of the same one. Pointers are great!
See https://github.com/alan-turing-institute/p2lab-pokemon/issues/39 and https://github.com/alan-turing-institute/p2lab-pokemon/issues/36
When a team is created it should have each Pokemon be a new object. This points to weird errors where the same Pokemon could be edited multiple times in the same battle if there is 2x of the same one. Pointers are great!