mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
16 lines
319 B
C#
16 lines
319 B
C#
|
using QSB.WorldSync;
|
|||
|
|
|||
|
namespace QSB.CampfireSync.WorldObjects
|
|||
|
{
|
|||
|
class QSBCampfire : WorldObject<Campfire>
|
|||
|
{
|
|||
|
public override void Init(Campfire campfire, int id)
|
|||
|
{
|
|||
|
ObjectId = id;
|
|||
|
AttachedObject = campfire;
|
|||
|
}
|
|||
|
|
|||
|
public void SetState(Campfire.State newState)
|
|||
|
=> AttachedObject.SetState(newState);
|
|||
|
}
|
|||
|
}
|