public RegionContextBase(RegionContextBase rcontext, AssetContextBase acontext) : base(rcontext, acontext) { m_regionState = new RegionState(); m_regionStateChangedCallback = new RegionStateChangedCallback(State_OnChange); State.OnStateChanged += m_regionStateChangedCallback; m_entityCollection = new EntityCollection(this.Name.Name); this.RegisterInterface<IEntityCollection>(m_entityCollection); this.RegisterInterface<IRegionContext>(this); }
public OnStateChangedLater(RegionStateChangedCallback c, RegionStateCode r) { m_callback = c; m_code = r; }