C# Class TurtleGraphics.ViewModels.Command

亀に対する命令。
Exibir arquivo Open project: ufcpp/UfcppSample

Public Methods

Method Description
Clear ( ) : Command

今ひかれている線の削除。

Speed ( double speedDotPerSecond ) : Command

速さの変更。

Turn ( double angle ) : Command

方向転換。

Walk ( double distance ) : Command

前進。

Private Methods

Method Description
Command ( CommandType type, double value )

Method Details

Clear() public static method

今ひかれている線の削除。
public static Clear ( ) : Command
return Command

Speed() public static method

速さの変更。
public static Speed ( double speedDotPerSecond ) : Command
speedDotPerSecond double 変更後の速さ[ドット/秒]。
return Command

Turn() public static method

方向転換。
public static Turn ( double angle ) : Command
angle double 方向転換する角度[度]。
return Command

Walk() public static method

前進。
public static Walk ( double distance ) : Command
distance double 前進する距離[ドット]。
return Command