line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Settlers::Map::Tile::Mountains; |
2
|
|
|
|
|
|
|
$Settlers::Map::Tile::Mountains::VERSION = '0.07'; |
3
|
3
|
|
|
3
|
|
15
|
use strict; |
|
3
|
|
|
1
|
|
4
|
|
|
3
|
|
|
|
|
72
|
|
|
1
|
|
|
|
|
857
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
4
|
3
|
|
|
3
|
|
13
|
use warnings; |
|
3
|
|
|
1
|
|
4
|
|
|
3
|
|
|
|
|
73
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
5
|
3
|
|
|
3
|
|
13
|
use parent 'Settlers::Map::Tile'; |
|
3
|
|
|
1
|
|
5
|
|
|
3
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
6
|
3
|
|
|
3
|
|
888
|
use Settlers::Resource::Ore; |
|
3
|
|
|
1
|
|
5
|
|
|
3
|
|
|
|
|
389
|
|
|
1
|
|
|
|
|
51
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
302
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
18
|
|
|
18
|
1
|
34
|
my ($class, $q, $r, $number) = @_; |
11
|
18
|
|
|
|
|
53
|
my $self = $class->SUPER::new($q, $r, $number); |
12
|
18
|
|
|
|
|
34
|
$self->{name} = 'Mountains'; |
13
|
18
|
|
|
|
|
29
|
$self->{code} = 'M'; |
14
|
18
|
|
|
|
|
36
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
45
|
|
|
45
|
0
|
181
|
sub yields { Settlers::Resource::Ore->new($_[1]) } |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |