C# Class NturnUI, tf_client

Nturn GUI.
Inheritance: GUIObject
Afficher le fichier Open project: wids-eria/tf_client

Protected Properties

Свойство Type Description
GetTurnTimeLeftCoroutine WebCoroutine,
ProcessIsRunning bool
PutTurnOverCoroutine WebCoroutine,
StartNewTurnCoroutine WebCoroutine,
isAfterProcessing bool
isAfterPut bool
isButtonPressed bool
isPutting bool

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Draw ( ) : void

Display the nturn.

IsMouseOver ( ) : bool

Determines whether this instance is mouse over.

NturnUI ( ) : UnityEngine

Initializes a new instance of the NturnUI class.

TurnTimerConverter ( double data ) : void

Converts time from server into int

TurnTimerConverter ( int data ) : void

Méthodes protégées

Méthode Description
GetTurnTimeLeft ( AWebCoroutine, a ) : IEnumerator

Gets the turn time left.

PutTurnOver ( AWebCoroutine, a ) : IEnumerator

Sends a turn over message to the server (coroutine)

TurnTimerGenerator ( ) : string

Generate time based on the timer on the server

startNewTurn ( AWebCoroutine a ) : IEnumerator

Starts the new turn.

Method Details

Draw() public méthode

Display the nturn.
public Draw ( ) : void
Résultat void

GetTurnTimeLeft() protected méthode

Gets the turn time left.
protected GetTurnTimeLeft ( AWebCoroutine, a ) : IEnumerator
a AWebCoroutine,
Résultat IEnumerator

IsMouseOver() public méthode

Determines whether this instance is mouse over.
public IsMouseOver ( ) : bool
Résultat bool

NturnUI() public méthode

Initializes a new instance of the NturnUI class.
public NturnUI ( ) : UnityEngine
Résultat UnityEngine

PutTurnOver() protected méthode

Sends a turn over message to the server (coroutine)
protected PutTurnOver ( AWebCoroutine, a ) : IEnumerator
a AWebCoroutine,
Résultat IEnumerator

TurnTimerConverter() public méthode

Converts time from server into int
public TurnTimerConverter ( double data ) : void
data double /// Time from server ///
Résultat void

TurnTimerConverter() public méthode

public TurnTimerConverter ( int data ) : void
data int
Résultat void

TurnTimerGenerator() protected méthode

Generate time based on the timer on the server
protected TurnTimerGenerator ( ) : string
Résultat string

startNewTurn() protected méthode

Starts the new turn.
protected startNewTurn ( AWebCoroutine a ) : IEnumerator
a AWebCoroutine
Résultat IEnumerator

Property Details

GetTurnTimeLeftCoroutine protected_oe property

protected WebCoroutine, GetTurnTimeLeftCoroutine
Résultat WebCoroutine,

ProcessIsRunning protected_oe property

The delay for completing www request to the server for StartNewTurn()
protected bool ProcessIsRunning
Résultat bool

PutTurnOverCoroutine protected_oe property

protected WebCoroutine, PutTurnOverCoroutine
Résultat WebCoroutine,

StartNewTurnCoroutine protected_oe property

protected WebCoroutine, StartNewTurnCoroutine
Résultat WebCoroutine,

isAfterProcessing protected_oe property

The is after processing.
protected bool isAfterProcessing
Résultat bool

isAfterPut protected_oe property

The is after put.
protected bool isAfterPut
Résultat bool

isButtonPressed protected_oe property

The is button pressed.
protected bool isButtonPressed
Résultat bool

isPutting protected_oe property

The is putting.
protected bool isPutting
Résultat bool