2022-03-02 19:46:33 -08:00
|
|
|
|
namespace QSB.QuantumSync.WorldObjects;
|
|
|
|
|
|
2023-07-28 19:30:57 +01:00
|
|
|
|
public class QSBQuantumSkeletonTower : QSBQuantumObject<QuantumSkeletonTower>
|
2022-01-07 21:24:39 -08:00
|
|
|
|
{
|
2022-03-07 20:34:35 +00:00
|
|
|
|
public override string ReturnLabel() => $"{base.ReturnLabel()}"
|
2022-03-02 19:46:33 -08:00
|
|
|
|
+ $"{AttachedObject._index} {AttachedObject._waitForPlayerToLookAtTower}\n"
|
|
|
|
|
+ $"{AttachedObject._waitForFlicker} {AttachedObject._flickering}";
|
2022-02-27 04:40:44 -08:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
public void MoveSkeleton(int index)
|
|
|
|
|
{
|
|
|
|
|
AttachedObject._pointingSkeletons[index].gameObject.SetActive(false);
|
2022-01-11 19:10:24 -08:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
AttachedObject._towerSkeletons[AttachedObject._index].SetActive(true);
|
|
|
|
|
AttachedObject._index++;
|
|
|
|
|
AttachedObject._waitForPlayerToLookAtTower = true;
|
2022-01-07 21:24:39 -08:00
|
|
|
|
}
|
2022-02-24 22:04:54 -08:00
|
|
|
|
}
|