line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catan::Map::Tile::Mountains; |
2
|
|
|
|
|
|
|
$Catan::Map::Tile::Mountains::VERSION = '0.02'; |
3
|
3
|
|
|
3
|
|
13
|
use strict; |
|
3
|
|
|
1
|
|
5
|
|
|
3
|
|
|
|
|
69
|
|
|
1
|
|
|
|
|
834
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
4
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
1
|
|
4
|
|
|
3
|
|
|
|
|
71
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
23
|
|
5
|
3
|
|
|
3
|
|
14
|
use parent 'Catan::Map::Tile'; |
|
3
|
|
|
1
|
|
5
|
|
|
3
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
6
|
3
|
|
|
3
|
|
868
|
use Catan::Resource::Ore; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
362
|
|
|
1
|
|
|
|
|
61
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
236
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
12
|
|
|
12
|
1
|
23
|
my ($class, $q, $r, $number) = @_; |
11
|
12
|
|
|
|
|
47
|
my $self = $class->SUPER::new($q, $r, $number); |
12
|
12
|
|
|
|
|
22
|
$self->{name} = 'Mountains'; |
13
|
12
|
|
|
|
|
19
|
$self->{code} = 'M'; |
14
|
12
|
|
|
|
|
24
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
12
|
|
|
12
|
0
|
54
|
sub yields { Catan::Resource::Ore->new($_[1]) } |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |