Beispiel #1
0
 public override void Process() => Player?.Claim(SalemUtil.GetRole("Mayor"), true);
Beispiel #2
0
 private void Claim(object sender, EventArgs e) => _player.Claim(SalemUtil.GetRole(((ToolStripMenuItem)sender).Text));
Beispiel #3
0
 protected Role GetRole(int playerRoleIndex) => Bytes.Length > playerRoleIndex?SalemUtil.GetRole(Bytes[playerRoleIndex]) : null;