2021-12-05 03:41:07 -08:00

29 lines
552 B
C#

using QSB.Utility;
using QSB.WorldSync;
namespace QSB.TornadoSync.WorldObjects
{
public class QSBTornado : WorldObject<TornadoController>
{
public override void Init(TornadoController attachedObject, int id)
{
ObjectId = id;
AttachedObject = attachedObject;
}
public void FormCollapse(bool formCollapse)
{
if (formCollapse)
{
AttachedObject.StartFormation();
DebugLog.DebugWrite($"{LogName} form");
}
else
{
AttachedObject.StartCollapse();
DebugLog.DebugWrite($"{LogName} collapse");
}
}
}
}