Table of Contents

Class MapAudioEmitter

Namespace
TinyLife.World
Assembly
Tiny Life.dll

An extension of the Microsoft.Xna.Framework.Audio.AudioEmitter class that also stores the emitter's WorldPosition

public class MapAudioEmitter : AudioEmitter
Inheritance
AudioEmitter
MapAudioEmitter
Inherited Members
AudioEmitter.DopplerScale
AudioEmitter.Forward
AudioEmitter.Position
AudioEmitter.Up
AudioEmitter.Velocity
Extension Methods

Constructors

MapAudioEmitter(Vector2, float)

Creates a new map audio emitter with the given settings.

public MapAudioEmitter(Vector2 worldPosition, float floor)

Parameters

worldPosition Vector2

This audio emitter's current in-world coordinates.

floor float

This audio emitter's current floor.

Properties

Floor

This audio emitter's current floor.

public float Floor { get; set; }

Property Value

float

WorldPosition

This audio emitter's current in-world coordinates.

public Vector2 WorldPosition { get; set; }

Property Value

Vector2