Game::3D::Living - an 3D objcet which lives (or is dead)
use Game::3D::Living;
my $object = Game::3D::Physical->new( health => 45 );
if ($object->is_dead()) { ... }
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 has the
following attributes:
is_dead()
print "It's dead, Jim." if $object->is_dead();
Returns true if the object is dead.
(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.