Mergnuta minihra
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
using GeoSus.Client;
|
||||
//using GeoSus.Client;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
/*public enum TaskType
|
||||
public enum TaskType
|
||||
{
|
||||
Task //TODO: Typy úkolù
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ 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 Position TaskLocation { get; } // Polohy na mapì
|
||||
public (double, double) TaskLocation { get; } // Polohy na mapì
|
||||
public bool IsCompleted { get; } // Stav dokonèení úkolu
|
||||
|
||||
void Initialize(Action<ITask> onCompleted); // Vytvoøení tasku + naètení postupu
|
||||
@@ -27,7 +27,7 @@ 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 Position TaskLocation { get; set; } // Poloha na mapì
|
||||
public (double, double) TaskLocation { get; set; } // Poloha na mapì
|
||||
public bool IsCompleted { get; private set; } // Stav dokonèení úkolu
|
||||
private Action<ITask> _onCompleted;
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: feb806f8c9bbde347862d714c4e96c61
|
||||
guid: 00f17be43b5049645915f193bf99516b
|
||||
Reference in New Issue
Block a user