public void AddUpdatable(IUpdatable updatable) { if (updatables.IsNull()) { updatables = new UpdatableList(); } updatables.Add(updatable); }
public DefaultAppImp() { m_timerManager = CreateTimerManager(); m_notificationCenter = CreateNotificationCenter(); m_processor = CreateCommandProcessor(); m_updatables = new UpdatableList(2); m_updatables.Add(m_timerManager); m_updatables.Add(UpdateBindings); }
public Screen(float width, float height) { this.width = width; this.height = height; timerManager = TimerManager.Null; updatables = UpdatableList.Null; drawables = DrawableList.Null; eventHandlers = EventHandlerList.Null; mRootView = CreateRootView(); }
public Application(ApplicationInfo info) { nativeInterface = info.nativeInterface; width = info.width; height = info.height; realWidth = info.realWidth; realHeight = info.realHeight; sharedApplication = this; context = new Context(); updatables = new UpdatableList(1); drawables = new DrawableList(1); cmdLine = CreateCommandLine(); cmdLine.Parse(info.args); }
public ScreenManager() { screens = new List <Screen>(); updatables = new UpdatableList(); drawables = new DrawableList(); }
public ScreenManager() { screens = new List<Screen>(); updatables = new UpdatableList(); drawables = new DrawableList(); }