Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VotingManager

Hierarchy

  • VotingManager

Index

Accessors

activeVoteInterrupt

  • get activeVoteInterrupt(): Interrupt | undefined
  • Returns Interrupt | undefined

Methods

addVote

  • Parameters

    Returns void

canStartVote

  • canStartVote(player: Player): boolean
  • Parameters

    Returns boolean

getSecondsBeforeVotingIsAllowed

  • getSecondsBeforeVotingIsAllowed(player: Player): number
  • Parameters

    Returns number

isVoting

  • isVoting(): boolean
  • Check if voting is active It will also end the existing vote if players left since the vote started

    Returns boolean

    True if there an active vote

resetHistory

  • resetHistory(): void
  • Returns void

startVote

Generated using TypeDoc