mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 18:35:34 +00:00
18 lines
429 B
C#
18 lines
429 B
C#
using OWML.Utils;
|
|
using QSB.WorldSync;
|
|
|
|
namespace QSB.QuantumSync
|
|
{
|
|
public class QSBMultiStateQuantumObject : WorldObject<MultiStateQuantumObject>
|
|
{
|
|
public QuantumState[] QuantumStates { get; private set; }
|
|
|
|
public override void Init(MultiStateQuantumObject attachedObject, int id)
|
|
{
|
|
ObjectId = id;
|
|
AttachedObject = attachedObject;
|
|
QuantumStates = AttachedObject.GetValue<QuantumState[]>("_states");
|
|
}
|
|
}
|
|
}
|