C# Class PlayerReceiveUpdates, DefendAman

Inheritance: MonoBehaviour
Mostrar archivo Open project: CarsonRoscoe/DefendAman

Public Properties

Property Type Description
playerID int

Public Methods

Method 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

Method Description
pos_changed ( float newX, float newY ) : bool

Method Details

Start() public method

public Start ( ) : void
return void

died() public method

public died ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
return void

new_stats() public method

public new_stats ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
return void

took_damage() public method

public took_damage ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
return void

update_position() public method

public update_position ( JSONClass player ) : void
player SimpleJSON.JSONClass
return void

use_potion() public method

public use_potion ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
return void

Property Details

playerID public_oe property

public int playerID
return int