C# Class LightningGem, angrygoats

Purpose: The yellow/lightning gem. Useful for stunning the enemy in their tracks. This completely stops the enemy but is applied for a shorter time than the freeze gem
Inheritance: GenericGem
ファイルを表示 Open project: dulb640/angrygoats

Public Methods

Method Description
castAnimation ( ) : void
onEnemyHit ( GameObject other ) : void

Protected Methods

Method Description
doEffect ( ) : void

Method Details

castAnimation() public method

public castAnimation ( ) : void
return void

doEffect() protected method

protected doEffect ( ) : void
return void

onEnemyHit() public method

public onEnemyHit ( GameObject other ) : void
other GameObject
return void