using System.Collections.Generic; using TrueSync; namespace ET { [ChildOf] [ComponentOf] public class Room: Entity, IScene, IAwake, IUpdate { public SceneType SceneType { get; set; } = SceneType.Room; public string Name { get; set; } private EntityRef lsWorld; public LSWorld LSWorld { get { return this.lsWorld; } set { this.AddChild(value); this.lsWorld = value; } } public long StartTime { get; set; } public FrameBuffer FrameBuffer { get; } = new(); public FixedTimeCounter FixedTimeCounter { get; set; } public List PlayerIds { get; } = new(LSConstValue.MatchCount); public int PredictionFrame { get; set; } = -1; public int RealFrame { get; set; } = -1; } }