C# Class OpenBve.Sounds.PathOrigin

Represents a file or directory where the sound can be loaded from.
Inheritance: SoundOrigin
Show file Open project: leezer3/OpenBVE

Public Methods

Method Description
Equals ( object obj ) : bool

Checks whether this instance is equal to the specified object.

operator ( ) : bool

Checks whether two origins are equal.

Private Methods

Method Description
GetSound ( OpenBveApi &sound ) : bool

Gets the sound from this origin.

PathOrigin ( string path )

Creates a new path origin.

Method Details

Equals() public method

Checks whether this instance is equal to the specified object.
public Equals ( object obj ) : bool
obj object The object.
return bool

operator() public static method

Checks whether two origins are equal.
public static operator ( ) : bool
return bool