C# Class Indiefreaks.Xna.Sessions.IdentifiedPlayer

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

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 .
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IdentifiedPlayer() protected méthode

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
Résultat Indiefreaks.Xna.Core

IdentifiedPlayer() protected méthode

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

PreparePlayerDevice() public méthode

public PreparePlayerDevice ( ) : void
Résultat void

operator() public static méthode

public static operator ( ) : bool
Résultat bool