C# Class PoisonAttackDecorator, DesignPatterns

Inheritance: AttackDecorator
Show file Open project: cosgunhalil/DesignPatterns Class Usage Examples

Public Methods

Method Description
PoisonAttackDecorator ( Attack, decoreatedAttack ) : System.Collections
SetDamage ( ) : void

Private Methods

Method Description
SetPoison ( ) : void

Method Details

PoisonAttackDecorator() public method

public PoisonAttackDecorator ( Attack, decoreatedAttack ) : System.Collections
decoreatedAttack Attack,
return System.Collections

SetDamage() public method

public SetDamage ( ) : void
return void