Class FlippingCoinEventArgs
Contains all information before a player flips a coin.
public class FlippingCoinEventArgs : IDeniableEvent, IItemEvent, IPlayerEvent, IExiledEvent
- Inheritance
-
FlippingCoinEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
FlippingCoinEventArgs(Player, Coin, bool)
Initializes a new instance of the FlippingCoinEventArgs class.
public FlippingCoinEventArgs(Player player, Coin coin, bool isTails)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the coin can be flipped.
public bool IsAllowed { get; set; }
Property Value
IsTails
Gets or sets a value indicating whether the coin is landing on tails.
public bool IsTails { get; set; }
Property Value
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the player who's flipping the coin.
public Player Player { get; }