Class MoveCubeCommand
public class MoveCubeCommand : ICommand
- Inheritance
-
MoveCubeCommand
- Implements
- Extension Methods
Constructors
MoveCubeCommand(CubeController, Vector3)
public MoveCubeCommand(CubeController cubeController, Vector3 direction)
Parameters
cubeControllerCubeControllerdirectionVector3
Properties
CubeControllerCurrent
private CubeController CubeControllerCurrent { get; set; }
Property Value
Direction
private Vector3 Direction { get; set; }
Property Value
- Vector3
Methods
Execute()
public void Execute()
Undo()
public void Undo()