C# Class AbstractGoTweenCollection, wepwep

base class for TweenChains and TweenFlows
Inheritance: AbstractGoTween
Mostra file Open project: encephalopathy/wepwep Class Usage Examples

Protected Properties

Property Type Description
_tweenFlows List

Public Methods

Method Description
AbstractGoTweenCollection ( GoTweenCollectionConfig, config ) : System.Collections
allTweenProperties ( ) : List
containsTweenProperty ( AbstractTweenProperty, property ) : bool
goTo ( float time ) : void

goes to the specified time clamping it from 0 to the total duration of the tween. if the tween is not playing it will be force updated to the time specified.

isValid ( ) : bool

we are always considered valid because our constructor adds us to Go and we start paused

pause ( ) : void

pauses playback

play ( ) : void

resumes playback

removeTweenProperty ( AbstractTweenProperty, property ) : bool
reverse ( ) : void

reverses playback. if going forward it will be going backward after this and vice versa.

tweensWithTarget ( object target ) : List

returns a list of all Tweens with the given target in the collection technically, this should be marked as internal

update ( float deltaTime ) : bool

tick method. if it returns true it indicates the tween is complete

Private Methods

Method Description
changeTimeForFlowItem ( TweenFlowItem flowItem, float time ) : void

Method Details

AbstractGoTweenCollection() public method

public AbstractGoTweenCollection ( GoTweenCollectionConfig, config ) : System.Collections
config GoTweenCollectionConfig,
return System.Collections

allTweenProperties() public method

public allTweenProperties ( ) : List
return List

containsTweenProperty() public method

public containsTweenProperty ( AbstractTweenProperty, property ) : bool
property AbstractTweenProperty,
return bool

goTo() public method

goes to the specified time clamping it from 0 to the total duration of the tween. if the tween is not playing it will be force updated to the time specified.
public goTo ( float time ) : void
time float
return void

isValid() public method

we are always considered valid because our constructor adds us to Go and we start paused
public isValid ( ) : bool
return bool

pause() public method

pauses playback
public pause ( ) : void
return void

play() public method

resumes playback
public play ( ) : void
return void

removeTweenProperty() public method

public removeTweenProperty ( AbstractTweenProperty, property ) : bool
property AbstractTweenProperty,
return bool

reverse() public method

reverses playback. if going forward it will be going backward after this and vice versa.
public reverse ( ) : void
return void

tweensWithTarget() public method

returns a list of all Tweens with the given target in the collection technically, this should be marked as internal
public tweensWithTarget ( object target ) : List
target object
return List

update() public method

tick method. if it returns true it indicates the tween is complete
public update ( float deltaTime ) : bool
deltaTime float
return bool

Property Details

_tweenFlows protected_oe property

protected List _tweenFlows
return List