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

19 lines
628 B
C#
Raw Normal View History

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