| 1 | package Crypt::Chimera::Event; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use vars qw(@ISA $SEQ); | ||
| 5 | use Crypt::Chimera::Object; | ||
| 6 | |||
| 7 | @ISA = qw(Crypt::Chimera::Object); | ||
| 8 | $SEQ = 0; | ||
| 9 | |||
| 10 | sub new { | ||
| 11 | my $class = shift; | ||
| 12 | my $self = $class->SUPER::new(@_); | ||
| 13 | $self->{Seq} = $SEQ++; | ||
| 14 | return $self; | ||
| 15 | } | ||
| 16 | |||
| 17 | 1; |