Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void Clear()
}

/// <summary>
/// Creates a new texture atlas based a texture atlas xml configuration file.
/// Creates a new texture atlas based on a texture atlas xml configuration file.
/// </summary>
/// <param name="content">The content manager used to load the texture for the atlas.</param>
/// <param name="fileName">The path to the xml file, relative to the content root directory.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ public void Draw(SpriteBatch spriteBatch)
{
for (int i = 0; i < Count; i++)
{
int tileSetIndex = _tiles[i];
TextureRegion tile = _tileset.GetTile(tileSetIndex);
int tilesetIndex = _tiles[i];
TextureRegion tile = _tileset.GetTile(tilesetIndex);

int x = i % Columns;
int y = i / Columns;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public float SoundEffectVolume
/// <summary>
/// Gets a value that indicates if this audio controller has been disposed.
/// </summary>
public bool IsDisposed {get; private set; }
public bool IsDisposed { get; private set; }
#endregion

#region ctors
Expand Down Expand Up @@ -168,7 +168,7 @@ protected void Dispose(bool disposing)
/// <returns>The sound effect instance created by this method.</returns>
public SoundEffectInstance PlaySoundEffect(SoundEffect soundEffect)
{
return PlaySoundEffect(soundEffect, 1.0f, 1.0f, 0.0f, false);
return PlaySoundEffect(soundEffect, 1.0f, 0.0f, 0.0f, false);
}

/// <summary>
Expand Down