# NewGamePhysics.StateManager.PlayerIndexEventArgs Class Reference

Custom event argument which includes the index of the player who triggered the event. Used by the MenuEntry.Selected event. More...

List of all members.

## Public Member Functions
| PlayerIndexEventArgs (PlayerIndex playerIndex)
| Constructor for teh PlayerIndexEventArgs object.
## Properties
PlayerIndex | PlayerIndex`[get]`
| Gets the index of the player who triggered this event.

## Detailed Description

Custom event argument which includes the index of the player who triggered the event. Used by the MenuEntry.Selected event.

Definition at line 15 of file PlayerIndexEventArgs.cs.

## Constructor & Destructor Documentation

NewGamePhysics.StateManager.PlayerIndexEventArgs.PlayerIndexEventArgs | ( | PlayerIndex | playerIndex | ) |

Constructor for teh PlayerIndexEventArgs object.

Parameters:

  | playerIndex | The player index.

Definition at line 26 of file PlayerIndexEventArgs.cs.

    00027         {
    00028             this.playerIndex = playerIndex;
    00029         }

## Property Documentation

PlayerIndex NewGamePhysics.StateManager.PlayerIndexEventArgs.PlayerIndex`[get]`

Gets the index of the player who triggered this event.

Definition at line 35 of file PlayerIndexEventArgs.cs.

The documentation for this class was generated from the following file:

- C:/Users/Andreas Schiffler/Desktop/SVN/NewGamePhysics/NewGamePhysics/StateManager/PlayerIndexEventArgs.cs