mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 18:51:19 +00:00
19 lines
628 B
C#
19 lines
628 B
C#
namespace QSB.QuantumSync.WorldObjects
|
|
{
|
|
internal class QSBQuantumSkeletonTower : QSBQuantumObject<QuantumSkeletonTower>
|
|
{
|
|
public override string ReturnLabel() => $"{base.ReturnLabel()}\n"
|
|
+ $"{AttachedObject._index} {AttachedObject._waitForPlayerToLookAtTower}\n"
|
|
+ $"{AttachedObject._waitForFlicker} {AttachedObject._flickering}";
|
|
|
|
public void MoveSkeleton(int index)
|
|
{
|
|
AttachedObject._pointingSkeletons[index].gameObject.SetActive(false);
|
|
|
|
AttachedObject._towerSkeletons[AttachedObject._index].SetActive(true);
|
|
AttachedObject._index++;
|
|
AttachedObject._waitForPlayerToLookAtTower = true;
|
|
}
|
|
}
|
|
}
|