Table of Contents

Class MoveCubeCommand

Namespace
CodeBase.Patterns.Example
Assembly
4Experience.CodeBase.Patterns.Samples.dll
public class MoveCubeCommand : ICommand
Inheritance
MoveCubeCommand
Implements
Extension Methods

Constructors

MoveCubeCommand(CubeController, Vector3)

public MoveCubeCommand(CubeController cubeController, Vector3 direction)

Parameters

cubeController CubeController
direction Vector3

Properties

CubeControllerCurrent

private CubeController CubeControllerCurrent { get; set; }

Property Value

CubeController

Direction

private Vector3 Direction { get; set; }

Property Value

Vector3

Methods

Execute()

public void Execute()

Undo()

public void Undo()