Table of Contents

Struct Sound

Namespace
MohawkGame2D
Assembly
GAME 10003 Game Development Foundations - 2D Game Template.dll

Represents a sound file (audio 10s or less).

public readonly record struct Sound : IEquatable<Sound>
Implements
Inherited Members

Remarks

Wrapper around Raylib.Sound

Properties

FileName

Name of this sound file.

public string FileName { get; init; }

Property Value

string

FilePath

File path of this sound.

public string FilePath { get; init; }

Property Value

string

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.