Show More
Commit Description:
Fix right click to jump....
Commit Description:
Fix right click to jump.
Apparently I had it right the whole time, it's just that it would get triggered
many times because I wasn't checking that the mouse was previously released.
References:
File last commit:
Show/Diff file:
Action:
FNA/src/PlayerIndex.cs
34 lines | 682 B | text/x-csharp | CSharpLexer
34 lines | 682 B | text/x-csharp | CSharpLexer
r0 | #region License | |||
/* FNA - XNA4 Reimplementation for Desktop Platforms | ||||
* Copyright 2009-2020 Ethan Lee and the MonoGame Team | ||||
* | ||||
* Released under the Microsoft Public License. | ||||
* See LICENSE for details. | ||||
*/ | ||||
#endregion | ||||
namespace Microsoft.Xna.Framework | ||||
{ | ||||
/// <summary> | ||||
/// Defines the index of player for various input components. | ||||
/// </summary> | ||||
public enum PlayerIndex | ||||
{ | ||||
/// <summary> | ||||
/// The first player index. | ||||
/// </summary> | ||||
One = 0, | ||||
/// <summary> | ||||
/// The second player index. | ||||
/// </summary> | ||||
Two = 1, | ||||
/// <summary> | ||||
/// The third player index. | ||||
/// </summary> | ||||
Three = 2, | ||||
/// <summary> | ||||
/// The fourth player index. | ||||
/// </summary> | ||||
Four = 3 | ||||
} | ||||
} | ||||