Hi Martin,

I've been 100% taken by other activities in the past few weeks, I'm
catching up only now. Here is a quick answer...

2011/5/13 Martin Konečný <[email protected]>:
> I understand the part of setting a boolean
> flag to indicate that I've called the skip command, but where would I read
> this flag to change the behaviour?

You transition function takes two sources and returns the compound
source. You can make that function behave differently based on the
flag, for example:

def transition(from,to)
  if !has_skipped then
    add([fade.initial(to),fade.final(from)])
  else
    sequence([from,to])
  end
end

Hope this helps,
-- 
David

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to