kolombet / maashaack

Automatically exported from code.google.com/p/maashaack
0 stars 0 forks source link

same action in different Chain #204

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
i have a problem when i use ce same action in différent Chain with IOC.

if i have a action "close_container" a (TweenTo),
and i use this singleton action in "close_panel_process" Chain,
in "close_something_Task" and in "open_otherThing_Batch".

when i run, one of this three process,
when my action "close_container" finish, all sequencer (Chain or BatchTask) 
with the same action, catch the finish signal and run the other action...

i think that a id or hack variable to control if the owner process is running, 
will be fix this probleme...

/// in french ///
mon anglais étant pas au top :

j'ai un probleme quand j'utilise une action identique dans différent sequencer 
créé via l'ioc et une factory.

par exemple, si j'ai une action "close_container" qui est une tween par 
exemple, que j'utilise cette action singleton dans une Chain 
"close_panel_process", une autre chain "close_something_Task" et une troisieme 
"open_otherThing_Batch" 
Quand je lance une des trois séquence,
dès que mon action "close_container" présente dans les trois séquences, est 
fini, et donc dispatch son évent ou son signal finish, les 3 séquences lances 
les actions suivantes, même celles qui n'ont pas été lancé...

je pense qu'il faudrait un systeme pour savoir, quand je passe à l'action 
suivante, si la boucle dans laquelle je suis est bien lancé ou si le finish 
vient d'un autre process...avec une sorte  owner qui permettrai de savoir, est 
ce que je passe à la suite ou pas... est que je suis lancé, mon start a t il 
était appelé ou pas...

faya

Original issue reported on code.google.com by Farfaye on 6 May 2013 at 2:02