C# Class Zeplin.StateManager

Afficher le fichier Open project: zumpiez/Zeplin

Méthodes publiques

Méthode Description
AddState ( String name ) : void

Enqueues a state with no transition time.

AddState ( String name, System.TimeSpan duration ) : void

Enqueues a state with a defined transition time.

ForceState ( String name ) : void

Immediately changes the state and destroys the queue.

StateManager ( ZeplinGame game ) : System

Private Methods

Méthode Description
ProcessState ( GameTime time ) : void

Method Details

AddState() public méthode

Enqueues a state with no transition time.
public AddState ( String name ) : void
name String
Résultat void

AddState() public méthode

Enqueues a state with a defined transition time.
public AddState ( String name, System.TimeSpan duration ) : void
name String
duration System.TimeSpan The amount of time it will take to transition to this state.
Résultat void

ForceState() public méthode

Immediately changes the state and destroys the queue.
public ForceState ( String name ) : void
name String
Résultat void

StateManager() public méthode

public StateManager ( ZeplinGame game ) : System
game ZeplinGame
Résultat System