C# Class Files.AudioLogic.Coroutine

C# implementation of a Coroutine, from: http://www.gamedev.net/blog/1612/entry-2259253-coroutines-building-a-framework-in-c/
ファイルを表示 Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Public Properties

Property Type Description
can_move_next bool
is_complete bool

Public Methods

Method Description
Coroutine ( ) : System
YieldComplete ( object return_value = null ) : object
YieldFrom ( Coroutine coroutine, object sub_input = null ) : object
next ( object in_value = null ) : object
process ( ) : IEnumerable

Method Details

Coroutine() public method

public Coroutine ( ) : System
return System

YieldComplete() public method

public YieldComplete ( object return_value = null ) : object
return_value object
return object

YieldFrom() public method

public YieldFrom ( Coroutine coroutine, object sub_input = null ) : object
coroutine Coroutine
sub_input object
return object

next() public method

public next ( object in_value = null ) : object
in_value object
return object

process() public abstract method

public abstract process ( ) : IEnumerable
return IEnumerable

Property Details

can_move_next public_oe property

public bool can_move_next
return bool

is_complete public_oe property

public bool is_complete
return bool