public SkyMgr(StateManager stateMgr) { this.mStateMgr = stateMgr; this.mCaelumSystem = new CaelumSystem(this.mStateMgr.Root, this.mStateMgr.SceneMgr, CaelumSystem.CaelumComponent.None); this.mListener = new RootLstn(TypeLstn.FrameStarted, mCaelumSystem.FrameStarted); this.CreateSky(); this.AddListeners(); }
public void AddFrameLstn(RootLstn listener) { listener.AddListener(this.mRoot); }
public void RemoveFrameLstn(RootLstn listener) { listener.RemoveListener(this.mRoot); }