Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+38 votes
asked in CSC285_Fall2018 by (8 points)

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 (8 points)
+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 (3.5k 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 (8 points)
+9 votes

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

answered by (8 points)