C# Class Example.Player

显示文件 Open project: ignu/specish Class Usage Examples

Public Methods

Method Description
Damage ( DamageType type, int hitPoints ) : void
Player ( IUserArmor armor, IMessenger messenger, ISomethingElse somethingElse )

Method Details

Damage() public method

public Damage ( DamageType type, int hitPoints ) : void
type DamageType
hitPoints int
return void

Player() public method

public Player ( IUserArmor armor, IMessenger messenger, ISomethingElse somethingElse )
armor IUserArmor
messenger IMessenger
somethingElse ISomethingElse