diff --git a/Assets/ClientSDK.meta b/Assets/ClientSDK.meta deleted file mode 100644 index 57cb6ad..0000000 --- a/Assets/ClientSDK.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 50a0b21c151e150428fd2803d6b95db0 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GameManager.meta b/Assets/GameManager.meta deleted file mode 100644 index 4511a02..0000000 --- a/Assets/GameManager.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bbd26b895bc2b894b8989c08d9fd9197 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GameManager/ITask.cs b/Assets/GameManager/ITask.cs index 2df5907..d38cd2c 100644 --- a/Assets/GameManager/ITask.cs +++ b/Assets/GameManager/ITask.cs @@ -4,50 +4,18 @@ using UnityEngine; public enum TaskType { - Task //TODO: Typy úkolù + Task } - - public interface ITask { - public string TaskID { get; } // Unikátní ID úkolu pro server - public TaskType TaskType { get; } // Typ úkolu - public string TaskName { get; } // Viditelný název úkolu - public (double, double) TaskLocation { get; } // Polohy na mapì - public bool IsCompleted { get; } // Stav dokonèení úkolu + public string TaskID { get; set; } // Unikátní ID úkolu pro server + public TaskType TaskType { get; set; } // Typ úkolu + public string TaskName { get; set; } // Viditelný název úkolu + public (double, double) TaskLocation { get; set; } // Poloha na mapě + public bool IsCompleted { get; } // Stav dokončení úkolu - void Initialize(Action onCompleted); // Vytvoøení tasku + naètení postupu - void ExitTask(Action onExit); // Pøi opuštìní úkolu poslat hotovo / uložit postup / reset - void Complete(); // Oznaèit úkol jako dokonèený, poslat na server a zavøít - -} -/* Ukázoková implementace ITask -public class Wires : ITask{ - public string TaskID { get; set; } // Unikátní ID úkolu pro server - public TaskType TaskType { get; set; } // Typ úkolu - public string TaskName { get; set; } // Viditelný název úkolu - public (double, double) TaskLocation { get; set; } // Poloha na mapì - public bool IsCompleted { get; private set; } // Stav dokonèení úkolu - private Action _onCompleted; - - public void Initialize(Action onCompleted) // Vytvoøení tasku - { - IsCompleted = false; - _onCompleted = onCompleted; - } - public void ExitTask(Action onExit) //Zavøení tasku - { - onExit?.Invoke(this); - } - public void Complete() // Dokonèení tasku a zavøení - { - IsCompleted = true; - _onCompleted?.Invoke(this); - ExitTask(null); - } - - - -} -*/ \ No newline at end of file + void Initialize(Action onCompleted); // Vytvoření tasku + void ExitTask(Action onExit); // Při opuštění úkolu + void Complete(); // Označit úkol jako dokončený +} \ No newline at end of file diff --git a/Assets/InputSystem_Actions.inputactions.meta b/Assets/InputSystem_Actions.inputactions.meta deleted file mode 100644 index aa786fd..0000000 --- a/Assets/InputSystem_Actions.inputactions.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 55b6abf6106d3da4d9a6d0550a804f3b -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/MainScreenUI.meta b/Assets/MainScreenUI.meta deleted file mode 100644 index 636d8ad..0000000 --- a/Assets/MainScreenUI.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1bc3c07f160332843b2a60af3513f7f6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/MainScreenUI/Materials.meta b/Assets/MainScreenUI/Materials.meta deleted file mode 100644 index e688a87..0000000 --- a/Assets/MainScreenUI/Materials.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 75857465ac3a7394db0ff208711dadc4 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scenes.meta b/Assets/Scenes.meta deleted file mode 100644 index 7cef089..0000000 --- a/Assets/Scenes.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5e17b3a6c19f5404d8d097400a844a60 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts.meta b/Assets/Scripts.meta deleted file mode 100644 index d373b7b..0000000 --- a/Assets/Scripts.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 50c3453b214b4c24487f630d82fff48b -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Settings.meta b/Assets/Settings.meta deleted file mode 100644 index 2c0538e..0000000 --- a/Assets/Settings.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 148cdcfbaffe4a24b85ef92b75ce4ff7 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: