| | 1 | | using System.Collections; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using UnityEngine; |
| | 4 | |
|
| | 5 | | public interface ISaveHUDController |
| | 6 | | { |
| | 7 | | void Initialize(ISaveHUDView publishBtnView); |
| | 8 | | void Dispose(); |
| | 9 | | void SceneStateSave(); |
| | 10 | | void StopAnimation(); |
| | 11 | | void SetSaveViewByEntityListOpen(bool isOpen); |
| | 12 | | } |
| | 13 | |
|
| | 14 | | public class SaveHUDController : ISaveHUDController |
| | 15 | | { |
| | 16 | | internal ISaveHUDView view; |
| | 17 | |
|
| 0 | 18 | | public void Initialize(ISaveHUDView saveView) { view = saveView; } |
| | 19 | |
|
| 0 | 20 | | public void Dispose() { } |
| 2 | 21 | | public void SceneStateSave() { view.SceneStateSaved(); } |
| 2 | 22 | | public void StopAnimation() { view.StopAnimation(); } |
| | 23 | |
|
| 0 | 24 | | public void SetSaveViewByEntityListOpen(bool isOpen) { view.SetViewByEntityListOpen(isOpen); } |
| | 25 | | } |