Add UI to show available guards and doors
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
using DefaultNamespace;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using Utils;
|
||||
|
||||
public class DoorManager : MonoBehaviour
|
||||
public class DoorManager : MonoBehaviour, IDescribable
|
||||
{
|
||||
public string type;
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
@@ -53,4 +54,14 @@ public class DoorManager : MonoBehaviour
|
||||
//else return base
|
||||
return answer;
|
||||
}
|
||||
|
||||
public string GetName()
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
||||
public string GetDescription()
|
||||
{
|
||||
return "Describe " + type;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user