C# Class XNATweener.Loop

The Loop class is a static class for easy loop control of the Tweener.

You can loop continuousely FrontToBack or BackAndForth or for a specific number of times.

It can be used either by the static methods on this class or by the corresponding methods on the Tweener classes.

Datei anzeigen Open project: liquidboy/X

Public Methods

Method Description
BackAndForth ( ITweener tweener ) : void
BackAndForth ( ITweener tweener, int times ) : void
FrontToBack ( ITweener tweener ) : void
FrontToBack ( ITweener tweener, int times ) : void

Method Details

BackAndForth() public static method

public static BackAndForth ( ITweener tweener ) : void
tweener ITweener
return void

BackAndForth() public static method

public static BackAndForth ( ITweener tweener, int times ) : void
tweener ITweener
times int
return void

FrontToBack() public static method

public static FrontToBack ( ITweener tweener ) : void
tweener ITweener
return void

FrontToBack() public static method

public static FrontToBack ( ITweener tweener, int times ) : void
tweener ITweener
times int
return void