lib/Game/HeroesVsAliens/Projectile/Pink.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Game::HeroesVsAliens::Projectile::Pink;
2  
3 use Moo;
4  
5 with 'Game::HeroesVsAliens::Role::Projectile';
6  
7 has power => (
8 is => 'rw',
9 default => sub { 40 }
10 );
11  
12 has sprite => (
13 is => 'rw',
14 default => sub {
15 my $sprite = SDLx::Sprite::Animated->new(
16 image => $_[0]->resource_directory . 'resources/girl-hero-projectile.png',
17 width => 32,
18 height => 32,
19 );
20 }
21 );
22  
23 has explode_sprite => (
24 is => 'rw',
25 default => sub {
26 my $sprite = SDLx::Sprite::Animated->new(
27 image => $_[0]->resource_directory . 'resources/girl-hero-explode-projectile.png',
28 width => 32,
29 height => 32,
30 );
31 }
32 );
33  
34 1;