Initial commit

This commit is contained in:
HussienX72u
2026-07-21 08:56:10 +03:00
commit 4017028111
9410 changed files with 2150500 additions and 0 deletions
@@ -0,0 +1,18 @@
@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
@@ -0,0 +1,16 @@
@startuml
class DeleteBlockCommand {
- blockId : string
- prefabDeletedId : string
- blockInitialPosition : Vector3
- blockInitialRotation : Quaternion
- factory : BlockFactory
- environment : Environment
+ DeleteBlockCommand(blockId:string)
+ DeleteBlockCommand(commandDTO:CommandDTO)
+ execute() : void
+ undo() : void
+ toDTO() : CommandDTO
}
ICommand <|-- DeleteBlockCommand
@enduml
@@ -0,0 +1,12 @@
@startuml
class DeleteGroupCommand {
- blocksId : List<string>
- deleteBlockCommands : List<DeleteBlockCommand>
+ DeleteGroupCommand(blocksId:List<string>)
+ DeleteGroupCommand(commandDTO:CommandDTO)
+ execute() : void
+ undo() : void
+ toDTO() : CommandDTO
}
ICommand <|-- DeleteGroupCommand
@enduml
+7
View File
@@ -0,0 +1,7 @@
@startuml
interface ICommand {
execute() : void
undo() : void
toDTO() : CommandDTO
}
@enduml
@@ -0,0 +1,17 @@
@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
@@ -0,0 +1,15 @@
@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