public void CheckMurder(int murderer, int killed) { Role killedRole = playerControllers[killed].Role; if (killedRole == Role.Sheriff) { int alone = PlayerStandingAlone; PlayerController alonePc = playerControllers[alone]; if (PlayersAlive == 1 && alonePc.Role == Role.Renegade) { Win(alone); } else { Win(Team.Outlaw); } } else if (!SheriffFoesAlive) { Win(Team.Law); } else if (murderer != PimPamPumConstants.NoOne) { PlayerController pcMurderer = playerControllers[murderer]; if (killedRole == Role.Outlaw) { pcMurderer.Draw(3); } else if (killedRole == Role.Deputy && pcMurderer.Role == Role.Sheriff) { pcMurderer.DiscardAll(); } } }