PlayerIndex Enumeration

Specifies the index of a player.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public enum PlayerIndex

Members

  Member name Description
One The first player.
Two The second player.
Three The third player.
Four The fourth player.

See Also

Reference

Microsoft.Xna.Framework Namespace

Programming Guide

Application Model Overview

Platforms

Xbox 360, Windows XP SP2, Windows Vista