function WhiteCell(game, heart)
{
    var $whitecell = $('<div class="whitecell"></div>');
    $('#game').append($whitecell);
    
    var pos = $whitecell.position();
    this.x = pos.left;
    this.y = pos.top;
    this.width = $whitecell.width();
    this.height = $whitecell.height();
    this.halfWidth = Math.round(this.width / 2);
    this.halfHeight = Math.round(this.height / 2);
    
    this.xv = 1;
    this.yv = 1;
    this.active = false;
    
    var rotation = 0;
    
    var self = this;
    
    this.move = function ()
    {
        rotation += 2;
        
        self.x += self.xv;
        self.y += self.yv;
        self.draw();
        
        if (heart.destroys(self))
        {
            self.die();
        }
        
        if (heart.isDestroyedBy(self))
        {
            heart.die();
        }
    }
    
    this.draw = function ()
    {
        $whitecell.css({left: self.x + 'px', top: self.y  + 'px'});
        $whitecell.rotate(rotation);
    }
    
    this.die = function ()
    {
        self.active = false;
        self.xv = 0;
        self.yv = 0;
        $whitecell.animate({opacity: 0, scale: 1.5}, 500);
    }
    
    this.activate = function ()
    {
        self.active = true;
        
        self.y = Math.floor(Math.random() * game.height);
        $whitecell.show();
        
        self.xv = Math.round(((heart.x + heart.halfWidth) - (self.x + self.halfWidth)) / (game.refresh * 2));
        self.yv = Math.round(((heart.y + heart.halfHeight) - (self.y + self.halfHeight)) / (game.refresh * 2));
    }
}