SpicyPixel.Threading.YieldForSeconds Class Reference

A FiberInstruction to pause execution of a fiber for the specified duration. More...

+ Inheritance diagram for SpicyPixel.Threading.YieldForSeconds:
+ Collaboration diagram for SpicyPixel.Threading.YieldForSeconds:

Public Member Functions

 YieldForSeconds (float seconds)
 Initializes a new instance of the YieldForSeconds class. More...
 

Properties

float Seconds [get]
 Gets the seconds. More...
 

Additional Inherited Members

- Static Public Attributes inherited from SpicyPixel.Threading.FiberInstruction
static YieldToAnyFiber YieldToAnyFiber = YieldToAnyFiber.Instance
 An instruction to cause the current fiber to yield to any ready fiber. More...
 
static StopInstruction Stop = StopInstruction.Instance
 An instruction to terminate execution of the current fiber. More...
 
- Protected Member Functions inherited from SpicyPixel.Threading.FiberInstruction
 FiberInstruction ()
 Initializes a new instance of the FiberInstruction class. More...
 

Detailed Description

A FiberInstruction to pause execution of a fiber for the specified duration.

Definition at line 35 of file YieldForSeconds.cs.

Constructor & Destructor Documentation

SpicyPixel.Threading.YieldForSeconds.YieldForSeconds ( float  seconds)

Initializes a new instance of the YieldForSeconds class.

Parameters
secondsThe seconds to pause execution for.

Definition at line 55 of file YieldForSeconds.cs.

Property Documentation

float SpicyPixel.Threading.YieldForSeconds.Seconds
get

Gets the seconds.

The seconds to pause execution for.

Definition at line 45 of file YieldForSeconds.cs.


The documentation for this class was generated from the following file: