Properties:
| Name | Type | Description | 
|---|---|---|
rect | 
            
            
            Array.<number> | Percentage of the rect limitation | 
left | 
            
            
            boolean | The left direction | 
right | 
            
            
            boolean | The right direction | 
top | 
            
            
            boolean | The top direction | 
bot | 
            
            
            boolean | The bot direction | 
Methods
- 
    
    
    Union of the collision squares
Name Type Description squaresArray.<Array.<number>> All the squares and their corresponding rects lnumber The squares numbers wnumber The number of squares width hnumber The number of squares height  - 
    
    
    Get the BB according to rect and size
Name Type Description rectArray.<number> The rect wnumber The number of squares width hnumber The number of squares height  - 
    
    
    Read the JSON associated to the collision square
Name Type Description jsonObject Json object describing the collision square  - 
    
    
    Indicate if all the direction are OK
Returns:
Type Description boolean