19 lines
530 B
Plaintext
19 lines
530 B
Plaintext
@startuml
|
|
class CreateBlockCommand {
|
|
- prefabId : string
|
|
- position : Vector3
|
|
- rotation : Quaternion
|
|
- objectCreated : GameObject
|
|
- blockId : string
|
|
- layerDiff : bool
|
|
- factory : BlockFactory
|
|
- environment : Environment
|
|
+ CreateBlockCommand(prefabId:string, position:Vector3, rotation:Quaternion, LayerDiff:bool)
|
|
+ CreateBlockCommand(commandDTO:CommandDTO)
|
|
+ execute() : void
|
|
+ undo() : void
|
|
+ toDTO() : CommandDTO
|
|
}
|
|
ICommand <|-- CreateBlockCommand
|
|
@enduml
|