IItemCharacteristics Interface

Represents the interface an object needs to implement to be considered having all 90+ ItemCharacteristics. This interface allows existing objects to denote that they implement the same ItemCharacteristics.

Namespace:  AngbandOS.Core
Assembly:  AngbandOS.Core (in AngbandOS.Core.dll)

Syntax


internal interface IItemCharacteristics

Remarks


It would have been nice if we could have made this interface immutable but there are numerous places where the we set the properties one at a time. This is mostly present in the Randart. Due to that implementation, we will will take quite care not to make this into a hybrid of storing state and using instantiation. As a result, we will instantiate instances of this class as readonly and manipulate only the properties. Therefore, the associated methods will reflect such.