mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 15:53:19 +00:00
22 lines
398 B
C#
22 lines
398 B
C#
using QSB.WorldSync;
|
|
|
|
namespace QSB.QuantumSync.WorldObjects
|
|
{
|
|
internal class QSBQuantumState : WorldObject<QuantumState>
|
|
{
|
|
public bool IsMeantToBeEnabled;
|
|
|
|
public override void Init(QuantumState state, int id)
|
|
{
|
|
ObjectId = id;
|
|
AttachedObject = state;
|
|
}
|
|
|
|
public void SetVisible(bool visible)
|
|
{
|
|
IsMeantToBeEnabled = visible;
|
|
AttachedObject.SetVisible(visible);
|
|
}
|
|
}
|
|
}
|