(scene entities.Scene)
| 15 | } |
| 16 | |
| 17 | func (d *UserData) SetScene(scene entities.Scene) { |
| 18 | d.Scene = scene |
| 19 | switch scene { |
| 20 | case entities.SceneRenameContainer: |
| 21 | d.CurrentQuestion = entities.QNewContainerName |
| 22 | case entities.SceneRenameImage: |
| 23 | d.CurrentQuestion = entities.QNewImageName |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func (d *UserData) GetScene() entities.Scene { |
| 28 | return d.Scene |
no outgoing calls