public void ToggleDiceState() { DiceState = (DiceState == eDiceState.Unlocked) ? eDiceState.Locked : eDiceState.Unlocked; }
public mDice(int _id) { Id = _id; DiceState = eDiceState.Unlocked; FaceValue = 1; }