using RhythmBase.Components;
namespace RhythmBase.Events
{
///
/// Represents an event to set the owner of a hand in a room.
///
public class SetHandOwner : BaseEvent, IRoomEvent
{
///
/// Initializes a new instance of the class.
///
public SetHandOwner()
{
Rooms = new RDRoom(true, new byte[1]);
Type = EventType.SetHandOwner;
Tab = Tabs.Actions;
}
///
/// Gets or sets the room associated with the event.
///
public RDRoom Rooms { get; set; }
///
/// Gets or sets the hand associated with the event.
///
public PlayerHands Hand { get; set; }
///
/// Gets or sets the character associated with the event.
///
public RDCharacters Character { get; set; }
///
/// Gets the type of the event.
///
public override EventType Type { get; }
///
/// Gets the tab associated with the event.
///
public override Tabs Tab { get; }
}
}