VillagerRole.cs 541 B

1234567891011121314151617181920
  1. using MafiaTelegramBot.Game.GameRooms;
  2. using MafiaTelegramBot.Resources;
  3. namespace MafiaTelegramBot.Game.GameRoles
  4. {
  5. public class VillagerRole : GameRoom.Role
  6. {
  7. public override Roles RoleKey => Roles.Villager;
  8. public override int RankingCost { get; } = 10;
  9. private int _color = 1;
  10. public override int ColorRole
  11. {
  12. get => _color;
  13. set => _color = (int) value;
  14. }
  15. public VillagerRole(GameRoom room, Player player) : base(room, player) { }
  16. }
  17. }