C# Class PGCGame.CoreTypes.MusicBehaviour

Show file Open project: GreatMindsRobotics/PGCGame Class Usage Examples

Public Properties

Property Type Description
DesiredMusic ScreenMusic?
PauseMusic bool

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
MusicBehaviour ( ScreenMusic desired ) : System
MusicBehaviour ( ScreenMusic desired, bool pauseOnScreenChange ) : System
operator ( ) : bool

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

MusicBehaviour() public method

public MusicBehaviour ( ScreenMusic desired ) : System
desired ScreenMusic
return System

MusicBehaviour() public method

public MusicBehaviour ( ScreenMusic desired, bool pauseOnScreenChange ) : System
desired ScreenMusic
pauseOnScreenChange bool
return System

operator() public static method

public static operator ( ) : bool
return bool

Property Details

DesiredMusic public property

public ScreenMusic? DesiredMusic
return ScreenMusic?

PauseMusic public property

Should we stop or pause music on screen switch?
public bool PauseMusic
return bool