line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catan::Map::Tile::Harbor; |
2
|
|
|
|
|
|
|
$Catan::Map::Tile::Harbor::VERSION = '0.02'; |
3
|
3
|
|
|
3
|
|
14
|
use strict; |
|
3
|
|
|
1
|
|
5
|
|
|
3
|
|
|
|
|
72
|
|
|
1
|
|
|
|
|
841
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
4
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
71
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
5
|
3
|
|
|
3
|
|
12
|
use parent 'Catan::Map::Tile'; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new |
8
|
|
|
|
|
|
|
{ |
9
|
16
|
|
|
16
|
1
|
27
|
my ($class, $q, $r, $number) = @_; |
10
|
16
|
|
|
|
|
65
|
my $self = $class->SUPER::new($q, $r, $number); |
11
|
16
|
|
|
|
|
32
|
$self->{name} = 'Harbor'; |
12
|
16
|
|
|
|
|
29
|
$self->{code} = 'HR'; |
13
|
16
|
|
|
|
|
27
|
return $self; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |