18 lines
564 B
Plaintext
18 lines
564 B
Plaintext
@startuml
|
|
class MoveBlockCommand {
|
|
- blockId : string
|
|
- previousPosition : Vector3
|
|
- previousRotation : Quaternion
|
|
- newPosition : Vector3
|
|
- newRotation : Quaternion
|
|
- environment : Environment
|
|
- blockTransform : Transform
|
|
+ MoveBlockCommand(blockId:string, previousPosition:Vector3, newPosition:Vector3, previousRotation:Quaternion, newRotation:Quaternion)
|
|
+ MoveBlockCommand(commandDTO:CommandDTO)
|
|
+ execute() : void
|
|
+ undo() : void
|
|
+ toDTO() : CommandDTO
|
|
}
|
|
ICommand <|-- MoveBlockCommand
|
|
@enduml
|