00001 //----------------------------------------------------------------------------- 00002 // PlayerIndexEventArgs.cs 00003 // (Based on XNA Community Game Platform Demo, Microsoft Corp., 2008) 00004 //----------------------------------------------------------------------------- 00005 00006 namespace NewGamePhysics.StateManager 00007 { 00008 using System; 00009 using Microsoft.Xna.Framework; 00010 00015 public class PlayerIndexEventArgs : EventArgs 00016 { 00020 private PlayerIndex playerIndex; 00021 00026 public PlayerIndexEventArgs(PlayerIndex playerIndex) 00027 { 00028 this.playerIndex = playerIndex; 00029 } 00030 00034 public PlayerIndex PlayerIndex 00035 { 00036 get { return playerIndex; } 00037 } 00038 } 00039 }
1.6.2