quantum-space-buddies/QSB/QuantumSync/WorldObjects/QSBQuantumSkeletonTower.cs

17 lines
688 B
C#
Raw Normal View History

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