Closed GoogleCodeExporter closed 9 years ago
Original comment by steveonjava
on 2 Jul 2008 at 12:28
Original comment by steveonjava
on 3 Jul 2008 at 5:05
Should it be possible to reuse an activity after it has been finished?
Original comment by heue...@gmail.com
on 7 Oct 2008 at 9:12
I don't think so. Since conceptually, they have a start time and duration.
It might be an optimization to allow it, but I don't think it's much of one.
Original comment by allain.lalonde
on 18 Feb 2009 at 11:36
Here is a use case that will no longer work after the proposed fix is committed
http://tinyurl.com/n3xv8o
A new instance of WalkingActivity would need to be created each time walking()
is
called for every instance of WalkingSprite, rather than just one instance per
WalkingSprite.
Original comment by heue...@gmail.com
on 22 Jul 2009 at 9:43
This can be resolved by adding a reset/reschedule method to the activity that
would
reschedule the event when called.
Activity could be single serving things (which I like) and then reused when
needed.
Original comment by allain.lalonde
on 31 Jul 2009 at 4:31
I vote for WontFix. An activity with a duration of -1 should always keep
running if
it has not been finished. Perhaps the possible states and state transitions for
PActivity might be clarified for version 2.0.
Original comment by heue...@gmail.com
on 9 Oct 2009 at 4:21
agree with heuermh.
Original comment by mr0...@mro.name
on 9 Oct 2009 at 8:41
Since most think this shouldn't be fixed, I am marking as such.
Original comment by allain.lalonde
on 25 Oct 2009 at 11:32
Since most think this shouldn't be fixed, I am marking as such.
Original comment by allain.lalonde
on 25 Oct 2009 at 11:32
Original comment by allain.lalonde
on 30 Oct 2009 at 4:13
Original issue reported on code.google.com by
steveonjava
on 29 Jun 2008 at 11:16