[This is preliminary documentation and is subject to change.]
The GameFiber type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Abort |
Aborts this instance.
|
![]() ![]() | ExecuteFor |
Calls the specified method once every tick on the calling GameFiber, for the specified duration.
|
![]() ![]() | ExecuteNewFor(ThreadStart, Int32) |
Calls the specified method once every tick on a new GameFiber, for the specified duration.
|
![]() ![]() | ExecuteNewFor(ThreadStart, String, Int32) |
Calls the specified method once every tick on a new GameFiber, for the specified duration.
|
![]() ![]() | ExecuteNewWhile(ThreadStart, FuncBoolean) |
Calls the specified method once every tick on a new GameFiber, while the specified condition is true.
|
![]() ![]() | ExecuteNewWhile(ThreadStart, String, FuncBoolean) |
Calls the specified method once every tick on a new GameFiber, while the specified condition is true.
|
![]() ![]() | ExecuteWhile |
Calls the specified method once every tick on the calling GameFiber, while the specified condition is true.
|
![]() ![]() | Hibernate | |
![]() | HibernateThis |
Hibernates this instance. Note that only the active GameFiber can be set to hibernate.
|
![]() ![]() | Sleep |
Sleeps the active instance the specified duration.
|
![]() | SleepThis |
Sleeps this instance the specified duration. Note that only the active GameFiber can be set to sleep.
|
![]() ![]() ![]() | SleepUntil |
Yields the executing fiber until the specified condition is met.
|
![]() ![]() ![]() | SleepWhile |
Yields the executing fiber while the specified condition is met.
|
![]() | Start |
Starts this instance.
|
![]() ![]() | StartNew(ThreadStart) |
Starts a new GameFiber instance.
|
![]() ![]() | StartNew(ThreadStart, String) |
Starts a new GameFiber instance.
|
![]() ![]() | Wait | Waits the active instance the specified duration. Unlike sleep, wait is scaled based on game time dilation. |
![]() | WaitThis | Waits this instance the specified duration. Note that only the active GameFiber can be set to wait. Unlike sleep, wait is scaled based on game time dilation. |
![]() ![]() ![]() | WaitUntil(FuncBoolean) |
Yields the executing fiber until the specified condition is met. The condition is not checked while the game is paused.
|
![]() ![]() ![]() | WaitUntil(FuncBoolean, Int32) |
Yields the executing fiber until the specified condition is met. The condition is not checked while the game is paused.
|
![]() ![]() ![]() | WaitWhile(FuncBoolean) |
Yields the executing fiber while the specified condition is met. The condition is not checked while the game is paused.
|
![]() ![]() ![]() | WaitWhile(FuncBoolean, Int32) |
Yields the executing fiber while the specified condition is met. The condition is not checked while the game is paused.
|
![]() | Wake |
Awakens this instance from hibernation.
|
![]() ![]() | Yield |
Yields this instance allowing other instances to be processed. Equivalent to Sleep(0);
|
See Also