Game::3D::Trigger - an 3D object which can trigger some event if someone enters
use Game::3D::Trigger;
my $object = Game::3D::Trigger->new( x => 0, y => 0, z => 1,
w => 20, h => 10, l => 90, on_enter => SIGNAL_ON,
on_exit => SIGNAL_OFF);
Exports nothing on default.
This package provides a base class for shapes/areas in 3D space.
It features all the methods of Game::3D::Area (namely: new(), _init(),
x(), y(), z(), width(), length(), height(), size() and center()) plus:
mass()
print $object->mass();
$object->mass(123);
Set and return or just return the object's mass (in simple units).
(c) 2003, Tels <http://bloodgate.com/>
the Game::3D::Area manpage, the Game::3D::Thingy manpage as well as the SDL:App::FPS manpage, the SDL::App manpage and SDL.