16 lines
433 B
Plaintext
16 lines
433 B
Plaintext
@startuml
|
|
class RotateblockCommand {
|
|
- blockId : string
|
|
- newRotation : Quaternion
|
|
- previousRotation : Quaternion
|
|
- environment : Environment
|
|
- blockTransform : Transform
|
|
+ RotateblockCommand(blockId:string, newRotation:Quaternion)
|
|
+ RotateblockCommand(commandDTO:CommandDTO)
|
|
+ execute() : void
|
|
+ undo() : void
|
|
+ toDTO() : CommandDTO
|
|
}
|
|
ICommand <|-- RotateblockCommand
|
|
@enduml
|