C# Class Indiefreaks.Xna.Sessions.IdentifiedPlayer

Represents a Local player that is identified in the game session
Mostrar archivo Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified T:Indiefreaks.Xna.Sessions.IdentifiedPlayer is equal to the current T:System.Object.

GetHashCode ( ) : int
PreparePlayerDevice ( ) : void
operator ( ) : bool

Protected Methods

Method Description
IdentifiedPlayer ( PlayerInput playerInput ) : Indiefreaks.Xna.Core

Creates a new local player instance

IdentifiedPlayer ( string uniqueId ) : Indiefreaks.Xna.Core

Creates a new remote player instance

Method Details

Equals() public method

Determines whether the specified T:Indiefreaks.Xna.Sessions.IdentifiedPlayer is equal to the current T:System.Object.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IdentifiedPlayer() protected method

Creates a new local player instance
protected IdentifiedPlayer ( PlayerInput playerInput ) : Indiefreaks.Xna.Core
playerInput Indiefreaks.Xna.Input.PlayerInput The PlayerInput instance used by the Player
return Indiefreaks.Xna.Core

IdentifiedPlayer() protected method

Creates a new remote player instance
protected IdentifiedPlayer ( string uniqueId ) : Indiefreaks.Xna.Core
uniqueId string The id of the remote player
return Indiefreaks.Xna.Core

PreparePlayerDevice() public method

public PreparePlayerDevice ( ) : void
return void

operator() public static method

public static operator ( ) : bool
return bool