Skip to main content

IHoverableControl

/// <summary>                                                            
/// This marks a tile as accepting ActionToTile packetsBoolPackets for                       
/// New Input System hover events.                                       
/// ImplementWhen MessageTargetused asfor EXPLICITzones, interfacethe implementation.packet value is true when a                 
/// zone is entered or false when the zone is exited.                    
/// </summary>                                                           
public interface IHoverableControl: ITpMessaging<BoolPacket>             
{                                                                        
    /// <summary>inheritdoc ///  Implicit declaration of required MessageTarget for Hoverable Controls                
    /// </summary>                                                                            
    /// <param name="sentPacket">bool packet: true = enter zone, false = exit zone.</param>   
    /// <remarks>ALWAYS implement as explicit!!</remarks>                                                   
    void ITpMessaging<BoolPacket>.MessageTarget(ActionToTilePacketBoolPacket sentPacket)   
    {                                                                    
        throw new System.NotImplementedException();                      
    }      
}