VillagerRole.cs 649 B

1234567891011121314151617181920212223
  1. using System.Threading.Tasks;
  2. using MafiaTelegramBot.Game.GameRooms;
  3. using MafiaTelegramBot.Models;
  4. using MafiaTelegramBot.Resources;
  5. using Telegram.Bot.Types;
  6. namespace MafiaTelegramBot.Game.GameRoles
  7. {
  8. public class VillagerRole : GameRoom.Role
  9. {
  10. public override Roles RoleKey => Roles.Villager;
  11. protected override async Task<Message> NightAction(Player player)
  12. {
  13. //TODO this is what user can do in night phase
  14. return await Bot.SendWithMarkdown2(player.ChatId, strings.unexpected_error);
  15. }
  16. public VillagerRole(GameRoom room) : base(room)
  17. {
  18. }
  19. }
  20. }