Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
@startuml
|
||||
class CreateBlockCommand {
|
||||
+ CreateBlockCommand(prefabId:string, position:Vector3, rotation:Quaternion, LayerDiff:bool)
|
||||
+ CreateBlockCommand(commandDTO:CommandDTO)
|
||||
+ execute() : void
|
||||
+ undo() : void
|
||||
+ toDTO() : CommandDTO
|
||||
}
|
||||
ICommand <|-- CreateBlockCommand
|
||||
@enduml
|
||||
@@ -0,0 +1,10 @@
|
||||
@startuml
|
||||
class DeleteBlockCommand {
|
||||
+ DeleteBlockCommand(blockId:string)
|
||||
+ DeleteBlockCommand(commandDTO:CommandDTO)
|
||||
+ execute() : void
|
||||
+ undo() : void
|
||||
+ toDTO() : CommandDTO
|
||||
}
|
||||
ICommand <|-- DeleteBlockCommand
|
||||
@enduml
|
||||
@@ -0,0 +1,10 @@
|
||||
@startuml
|
||||
class DeleteGroupCommand {
|
||||
+ DeleteGroupCommand(blocksId:List<string>)
|
||||
+ DeleteGroupCommand(commandDTO:CommandDTO)
|
||||
+ execute() : void
|
||||
+ undo() : void
|
||||
+ toDTO() : CommandDTO
|
||||
}
|
||||
ICommand <|-- DeleteGroupCommand
|
||||
@enduml
|
||||
@@ -0,0 +1,4 @@
|
||||
@startuml
|
||||
interface ICommand {
|
||||
}
|
||||
@enduml
|
||||
@@ -0,0 +1,10 @@
|
||||
@startuml
|
||||
class MoveBlockCommand {
|
||||
+ 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,10 @@
|
||||
@startuml
|
||||
class RotateblockCommand {
|
||||
+ RotateblockCommand(blockId:string, newRotation:Quaternion)
|
||||
+ RotateblockCommand(commandDTO:CommandDTO)
|
||||
+ execute() : void
|
||||
+ undo() : void
|
||||
+ toDTO() : CommandDTO
|
||||
}
|
||||
ICommand <|-- RotateblockCommand
|
||||
@enduml
|
||||
Reference in New Issue
Block a user