2022-01-12 03:10:24 +00:00
|
|
|
|
namespace QSB.QuantumSync.WorldObjects
|
2022-01-08 05:24:39 +00:00
|
|
|
|
{
|
|
|
|
|
internal class QSBQuantumSkeletonTower : QSBQuantumObject<QuantumSkeletonTower>
|
|
|
|
|
{
|
|
|
|
|
public override string ReturnLabel() => $"{base.ReturnLabel()}\n"
|
|
|
|
|
+ $"{AttachedObject._index} {AttachedObject._waitForPlayerToLookAtTower}\n"
|
|
|
|
|
+ $"{AttachedObject._waitForFlicker} {AttachedObject._flickering}";
|
2022-01-12 03:10:24 +00:00
|
|
|
|
|
2022-01-12 03:31:54 +00:00
|
|
|
|
public void MoveSkeleton(int index)
|
2022-01-12 03:10:24 +00:00
|
|
|
|
{
|
2022-01-12 03:31:54 +00:00
|
|
|
|
AttachedObject._pointingSkeletons[index].gameObject.SetActive(false);
|
2022-01-12 03:10:24 +00:00
|
|
|
|
|
2022-01-12 03:31:54 +00:00
|
|
|
|
AttachedObject._towerSkeletons[AttachedObject._index].SetActive(true);
|
|
|
|
|
AttachedObject._index++;
|
2022-01-12 03:10:24 +00:00
|
|
|
|
AttachedObject._waitForPlayerToLookAtTower = true;
|
|
|
|
|
}
|
2022-01-08 05:24:39 +00:00
|
|
|
|
}
|
|
|
|
|
}
|