Class XnaHelpers
  
  
  
  
  
  Assembly: SociallyDistant.Framework.dll
  Syntax
  
    public static class XnaHelpers
   
  Methods
  
  MustGetComponent<T>(Game)
  
  
  Declaration
  
    public static T MustGetComponent<T>(this Game game)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Game | game |  | 
    
  
  Returns
  
  Type Parameters
  
  
  MustGetComponent<T>(Game, out T)
  
  
  Declaration
  
    public static void MustGetComponent<T>(this Game context, out T requiredComponent)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Game | context |  | 
      
        | T | requiredComponent |  | 
    
  
  Type Parameters
  
  
  MustGetComponent<T>(GameComponent)
  
  
  Declaration
  
    public static T MustGetComponent<T>(this GameComponent component)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | GameComponent | component |  | 
    
  
  Returns
  
  Type Parameters
  
  
  MustGetComponent<T>(GameComponent, out T)
  
  
  Declaration
  
    public static void MustGetComponent<T>(this GameComponent context, out T requiredComponent)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | GameComponent | context |  | 
      
        | T | requiredComponent |  | 
    
  
  Type Parameters