C# Class TurtleGraphics.ViewModels.Commander

コマンド発行クラス。 C# スクリプトのglobalsとして渡して、スクリプトからコマンドを発行するのに使う。
显示文件 Open project: ufcpp/UfcppSample Class Usage Examples

Public Methods

Method Description
Commander ( ConcurrentQueue queue ) : System.Collections.Concurrent
clear ( ) : void
speed ( double speedDotPerSecond ) : void
turn ( double angle ) : void
walk ( double distance ) : void

Method Details

Commander() public method

public Commander ( ConcurrentQueue queue ) : System.Collections.Concurrent
queue ConcurrentQueue
return System.Collections.Concurrent

clear() public method

public clear ( ) : void
return void

speed() public method

public speed ( double speedDotPerSecond ) : void
speedDotPerSecond double
return void

turn() public method

public turn ( double angle ) : void
angle double
return void

walk() public method

public walk ( double distance ) : void
distance double
return void