C# Class Gruppe22.Backend.ItemEffect

Class for the effects of items e.g. increasing the health by 5
Show file Open project: propra13-orga/gruppe22 Class Usage Examples

Public Methods

Method Description
ItemEffect ( ItemProperty property = ItemProperty.Null, int effect, int duration ) : System

Constructor

Method Details

ItemEffect() public method

Constructor
public ItemEffect ( ItemProperty property = ItemProperty.Null, int effect, int duration ) : System
property ItemProperty Which property this effect should be, no default value
effect int The intensity of that property, by default 0
duration int The duration of that property, by default 0
return System