Exemplo n.º 1
0
        /// <summary>
        /// Singleton pattern
        /// </summary>
        /// <returns></returns>
        protected static LightManager getInstance()
        {
            if (_instance == null)
                _instance = new LightManager();

            return _instance;
        }