C# Class OpenBve.Sounds.PathOrigin

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

Méthodes publiques

Méthode 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

Méthode Description
GetSound ( OpenBveApi &sound ) : bool

Gets the sound from this origin.

PathOrigin ( string path )

Creates a new path origin.

Method Details

Equals() public méthode

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

operator() public static méthode

Checks whether two origins are equal.
public static operator ( ) : bool
Résultat bool