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

21 lines
762 B
Plaintext

@startuml
class CommandHandler {
- {static} instance : CommandHandler
- commandManager : CommandManager
- environment : Environment
+ {static} getInstance() : CommandHandler
- Awake() : void
- Start() : void
- Update() : void
+ createBlock(prefabId:string, position:Vector3, rotation:Quaternion) : void
+ moveBlock(blockId:string, prePosition:Vector3, newPosition:Vector3, preRotation:Quaternion, newRotation:Quaternion) : void
+ removeBlock(blockId:string) : void
+ removeGroup(blockIds:List<string>) : void
+ rotateBlock(blockId:string, newRotation:Quaternion) : void
+ undoAction() : void
+ redoAction() : void
+ clearHistory() : void
}
MonoBehaviour <|-- CommandHandler
@enduml