C# Class PlayerReceiveUpdates, DefendAman

Inheritance: MonoBehaviour
Afficher le fichier Open project: CarsonRoscoe/DefendAman

Méthodes publiques

Свойство Type Description
playerID int

Méthodes publiques

Méthode Description
Start ( ) : void
died ( JSONClass packet ) : void
new_stats ( JSONClass packet ) : void
took_damage ( JSONClass packet ) : void
update_position ( JSONClass player ) : void
use_potion ( JSONClass packet ) : void

Private Methods

Méthode Description
pos_changed ( float newX, float newY ) : bool

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

died() public méthode

public died ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
Résultat void

new_stats() public méthode

public new_stats ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
Résultat void

took_damage() public méthode

public took_damage ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
Résultat void

update_position() public méthode

public update_position ( JSONClass player ) : void
player SimpleJSON.JSONClass
Résultat void

use_potion() public méthode

public use_potion ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
Résultat void

Property Details

playerID public_oe property

public int playerID
Résultat int