Example #1
0
			// --- constructors ---
			/// <summary>Creates a new instance of this class.</summary>
			/// <param name="file">The plugin file.</param>
			internal Plugin(string file) {
				this.File = file;
				this.Title = Path.GetFileName(file);
				this.Texture = null;
				this.Sound = null;
				this.Object = null;
			}
Example #2
0
 // --- constructors ---
 /// <summary>Creates a new instance of this class.</summary>
 /// <param name="file">The plugin file.</param>
 internal Plugin(string file)
 {
     this.File    = file;
     this.Title   = Path.GetFileName(file);
     this.Texture = null;
     this.Sound   = null;
     this.Object  = null;
 }