21 lines
423 B
C#
Raw Normal View History

2021-11-13 20:41:46 -08:00
using QSB.Utility;
using QSB.WorldSync;
2021-11-13 16:57:06 -08:00
namespace QSB.MeteorSync.WorldObjects
{
public class QSBFragment : WorldObject<FragmentIntegrity>
{
public override void Init(FragmentIntegrity attachedObject, int id)
{
ObjectId = id;
AttachedObject = attachedObject;
}
2021-11-13 20:41:46 -08:00
public void AddDamage(float damage)
{
AttachedObject.AddDamage(damage);
DebugLog.DebugWrite($"{LogName} - damage {damage}");
}
2021-11-13 16:57:06 -08:00
}
}