File Coverage

blib/lib/Games/AssaultCube/Log/Line/ScoreboardStart.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             # Declare our package
2             package Games::AssaultCube::Log::Line::ScoreboardStart;
3              
4             # import the Moose stuff
5 1     1   2654 use Moose;
  0            
  0            
6              
7             # Initialize our version
8             use vars qw( $VERSION );
9             $VERSION = '0.04';
10              
11             extends 'Games::AssaultCube::Log::Line::Base';
12              
13             has 'tostr' => (
14             isa => 'Str',
15             is => 'ro',
16             lazy => 1,
17             default => sub {
18             my $self = shift;
19             return "Starting Scoreboard";
20             },
21             );
22              
23             no Moose;
24             __PACKAGE__->meta->make_immutable;
25              
26             1;
27             __END__
28             =head1 NAME
29              
30             Games::AssaultCube::Log::Line::ScoreboardStart - Describes the ScoreboardStart event in a log line
31              
32             =head1 ABSTRACT
33              
34             Describes the ScoreboardStart event in a log line
35              
36             =head1 DESCRIPTION
37              
38             This module holds the "ScoreboardStart" event data from a log line. Normally, you would not use this class directly
39             but via the L<Games::AssaultCube::Log::Line> class.
40              
41             This line is emitted when the AC server starts to print it's scoreboard.
42              
43             =head2 Attributes
44              
45             Those attributes hold information about the event. As this class extends the L<Games::AssaultCube::Log::Line::Base>
46             class, you can also use it's attributes too.
47              
48             No extra attributes.
49              
50             =head1 AUTHOR
51              
52             Apocalypse E<lt>apocal@cpan.orgE<gt>
53              
54             Props goes to the BS clan for the support!
55              
56             This project is sponsored by L<http://cubestats.net>
57              
58             =head1 COPYRIGHT AND LICENSE
59              
60             Copyright 2009 by Apocalypse
61              
62             This library is free software; you can redistribute it and/or modify
63             it under the same terms as Perl itself.
64              
65             =cut