2020-08-20 17:29:47 +01:00
|
|
|
|
using QSB.WorldSync;
|
2020-08-16 17:15:36 +02:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
2020-11-03 22:29:23 +00:00
|
|
|
|
namespace QSB.SectorSync
|
2020-08-16 17:15:36 +02:00
|
|
|
|
{
|
2020-12-02 21:23:01 +00:00
|
|
|
|
public class QSBSector : WorldObject
|
|
|
|
|
{
|
|
|
|
|
public Sector Sector { get; private set; }
|
|
|
|
|
public Sector.Name Type => Sector.GetName();
|
|
|
|
|
public string Name => Sector.name;
|
|
|
|
|
public Transform Transform => Sector.transform;
|
|
|
|
|
public Vector3 Position => Transform.position;
|
2020-08-20 19:31:10 +01:00
|
|
|
|
|
2020-12-02 21:23:01 +00:00
|
|
|
|
public void Init(Sector sector, int id)
|
|
|
|
|
{
|
|
|
|
|
Sector = sector;
|
|
|
|
|
ObjectId = id;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-08-16 17:15:36 +02:00
|
|
|
|
}
|