Skip to main content

Interface IDice<T>

Namespace: DiceRolling.Dice
Assembly: dice-rolling.dll

Interface que define um dado completo no jogo.

public interface IDice<T> : IIdentifiable where T : DiceSide

Type Parameters

T

Tipo de lado do dado.

Implements

IIdentifiable

Properties

Location

DiceLocation Location { get; }

Property Value

DiceLocation

Name

string Name { get; }

Property Value

string

SideCount

int SideCount { get; }

Property Value

int

Sides

Array<T> Sides { get; }

Property Value

Array<T>

Methods

ValidateConstructor()

void ValidateConstructor()

Tem uma sugestão? 💡