C# Class PowerShard

Inheritance: Obstacle
Show file Open project: LilTsubaki/Les-fragments-d-Erule Class Usage Examples

Public Methods

Method Description
ApplyEffect ( ) : void
JSONToPowerShard ( JSONObject, powerShard, Hexagon, position ) : PowerShard,
PowerShard ( Hexagon, position, int cooldown, List effectIds ) : UnityEngine
PowerShardToJSON ( ) : JSONObject,
UpdateCooldown ( ) : bool
isReady ( ) : bool

Private Methods

Method Description
GetRandomEffect ( ) : int

Method Details

ApplyEffect() public method

public ApplyEffect ( ) : void
return void

JSONToPowerShard() public static method

public static JSONToPowerShard ( JSONObject, powerShard, Hexagon, position ) : PowerShard,
powerShard JSONObject,
position Hexagon,
return PowerShard,

PowerShard() public method

public PowerShard ( Hexagon, position, int cooldown, List effectIds ) : UnityEngine
position Hexagon,
cooldown int
effectIds List
return UnityEngine

PowerShardToJSON() public method

public PowerShardToJSON ( ) : JSONObject,
return JSONObject,

UpdateCooldown() public method

public UpdateCooldown ( ) : bool
return bool

isReady() public method

public isReady ( ) : bool
return bool