/usr/share/perl5/Games/PangZero/UpsideDownBall.pm is in pangzero 1.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ##########################################################################
package Games::PangZero::UpsideDownBall;
##########################################################################
@ISA = qw( Games::PangZero::Ball );
use strict;
use warnings;
sub NormalAdvance {
my ($self) = @_;
$self->{speedY} = -$self->{speedY};
$self->{y} = $Games::PangZero::ScreenHeight - $self->{h} - $self->{y};
$self->SUPER::NormalAdvance();
$self->{speedY} = -$self->{speedY};
$self->{y} = $Games::PangZero::ScreenHeight - $self->{h} - $self->{y};
}
1;
|