Метод | Описание | |
---|---|---|
Action ( System.Action action, float delay ) : void |
Fires the spevified action after the specified number of seconds have elapsed.
|
|
Transition ( Action |
Calls the specified delegate every frame for the specified number of seconds.
|
|
Transition ( Action |
Calls the specified delegate every frame for the specified number of seconds, and then calls the specified callback delegate.
|
|
Update ( |
Updates all transitions. This is called by MyreGame.Update(gameTime).
|
public static Action ( System.Action action, float delay ) : void | ||
action | System.Action | The delegate to execute. |
delay | float | The delay before the action is executed. |
Результат | void |
public static Transition ( Action |
||
step | Action |
The method to call each frame. This method takes on float parameter which is the progress from 0 to 1. |
duration | float | The number of seconds to call the delegate for. |
Результат | void |
public static Transition ( Action |
||
step | Action |
The method to call each frame. This method takes on float parameter which is the progress from 0 to 1. |
duration | float | The number of seconds to call the delegate for. |
completionCallback | System.Action | The method to call on completion of the transition. |
Результат | void |
public static Update ( |
||
gameTime | ||
Результат | void |