Ninja/Entity.pm untested

filter: Statementstmt 0.0% 0 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 5 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
CRAP 2.0
1 sub new {
2 my $class = @_;
3  
4 ### This Entity class should be overridden so it can hit or be
5 ### hit. An Action may use its hit functionality
6 $self = { hit => 0, hitted => 0,
7 hitmethod => $hitf, tohitmethod => $tohitf, };
8  
9 bless $self, $class;
10 };
11  
12 1;
13