16 lines
492 B
Plaintext
16 lines
492 B
Plaintext
@startuml
|
|
class CommandSaveHandler {
|
|
- {static} instance : CommandSaveHandler
|
|
- commandList : LinkedList<CommandDTO>
|
|
- saveFilePath : string
|
|
+ {static} getInstance() : CommandSaveHandler
|
|
+ setFileName(fileName:string) : void
|
|
+ saveCommands() : void
|
|
+ loadCommands() : void
|
|
+ excuteAllCommands(action:Action) : IEnumerator
|
|
+ addLastCommand(command:CommandDTO) : void
|
|
+ removeLastCommand() : void
|
|
+ clearCommandList() : void
|
|
}
|
|
@enduml
|