Files
2026-07-21 08:56:10 +03:00

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