VillagerRole.cs 489 B

12345678910111213141516171819
  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. private int _color = 1;
  9. public override double ColorRole
  10. {
  11. get => _color;
  12. set => _color = (int) value;
  13. }
  14. public VillagerRole(GameRoom room, Player player) : base(room, player) { }
  15. }
  16. }