Constructor
new Heart(x, y, r, c)
    Create a heart.
    Parameters:
| Name | Type | Description | 
|---|---|---|
x | 
            
            number | x position of the Heart. | 
y | 
            
            number | y position of the Heart. | 
r | 
            
            number | radius of the Heart, given by the distance from the centre of the Heart to the right most vertex. | 
c | 
            
            string | p5.Color | The string can either have the values of "pink" or "red". The p5.Color can be any valid p5.Color value. | 
Methods
draw()
    Draw the Heart.
        
            
    
    
    getPos() → {p5.Vector}
Returns:
    A p5.Vector containing the x and y position of the
	Heart.
- Type
 - p5.Vector
 
getRadius() → {number}
Returns:
    the radius of the Heart.
- Type
 - number
 
pulse(amplitude)
    Starts the pulsing of the Heart and sets the isPulsing flag to true.
    Parameters:
| Name | Type | Description | 
|---|---|---|
amplitude | 
            
            number | Sets the size the Heart will pulse to. | 
setColor(c)
    Set the color of the Heart
    Parameters:
| Name | Type | Description | 
|---|---|---|
c | 
            
            string | p5.Color | The string can either have the values of "pink" or "red". The p5.Color can be any valid p5.Color value. | 
setPos(newx, newy)
    Changes the position of the Heart.
    Parameters:
| Name | Type | Description | 
|---|---|---|
newx | 
            
            number | The new x position of the Heart. | 
newy | 
            
            number | The new y position of the Heart. | 
setRadius(newRadius)
    Set the radius of the Heart.
    Parameters:
| Name | Type | Description | 
|---|---|---|
newRadius | 
            
            number | The new radius of the Heart. | 
stopPulse()
    Stops the pulsing of the Heart, this only has an effect if the Heart
	has it's isPulsing flag set.  Set's the pulseTime and the pulseSize
	back to 0.