Esempio n. 1
0
		public override void InitFromFile(string fileName)
		{
			if(this.Disposed == true)
			{
				throw new ObjectDisposedException(this.GetType().Name);
			}

			_name = fileName;
			_particleSystem = idE.DeclManager.FindType<idDeclParticle>(DeclType.Particle, fileName);
		}
Esempio n. 2
0
		public override void TouchData()
		{
			if(this.Disposed == true)
			{
				throw new ObjectDisposedException(this.GetType().Name);
			}

			// ensure our particle system is added to the list of referenced decls
			_particleSystem = idE.DeclManager.FindType<idDeclParticle>(DeclType.Particle, _name);
		}