Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+39 votes
asked in CSC285_Fall2018 by (1 point)

4 Answers

+24 votes

Maybe you can store the chick they are currently tracking and the last frame number they clicked at for a new TimePoint, and then use a method to find the time point with that frame number in the AnimalTrack for that Chick, then remove that TimePoint from the AnimalTrack.

answered by (1 point)
+22 votes

The Case Study in Skrien Chapter 8 discusses one approach, which basically involves storing a copy of the full state of the project every time a change gets made...

answered by (508 points)
+11 votes

A way I did it is to remove the most recent TimePoint from the current Animal Track and back the window up one time step.

answered by (1 point)
+9 votes

The 'Memento' pattern in Skrien chapter 8 might be useful

answered by (1 point)
...