C# Class TinBot.Operations.Commands

显示文件 Open project: marcodiniz/TinBot Class Usage Examples

Public Methods

Method Description
Commands ( MediaElement mediaElement, Body body, Ear ear, int>.Dictionary facesPauseTime, Storyboard>.Dictionary faces, int>.Dictionary toggles ) : System
ExecuteAction ( TinBotAction action ) : Task
Speak ( string text ) : Task

Private Methods

Method Description
ExecuteToggle ( ToggleAction action ) : Task
MediaElementOnMarkerReached ( object sender, TimelineMarkerRoutedEventArgs e ) : void
Move ( MovementAcion moveAction ) : Task
PlayAndPause ( Storyboard sb ) : void
PlayNext ( object sender = null, object o = null ) : void
ProcessActionsQueue ( ) : void
SetupStandByBehaviors ( ) : void

Method Details

Commands() public method

public Commands ( MediaElement mediaElement, Body body, Ear ear, int>.Dictionary facesPauseTime, Storyboard>.Dictionary faces, int>.Dictionary toggles ) : System
mediaElement Windows.UI.Xaml.Controls.MediaElement
body Body
ear Ear
facesPauseTime int>.Dictionary
faces Storyboard>.Dictionary
toggles int>.Dictionary
return System

ExecuteAction() public method

public ExecuteAction ( TinBotAction action ) : Task
action TinBot.Portable.TinBotAction
return Task

Speak() public method

public Speak ( string text ) : Task
text string
return Task