Game::3D::Living - an 3D objcet which lives



NAME

Game::3D::Living - an 3D objcet which lives (or is dead)


SYNOPSIS

        use Game::3D::Living;
        my $object = Game::3D::Physical->new( health => 45 );
        if ($object->is_dead()) { ... }


EXPORTS

Exports nothing on default.


DESCRIPTION

This package provides a base class for shapes/areas in 3D space.


METHODS

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.


AUTHORS

(c) 2003, Tels <http://bloodgate.com/>


SEE ALSO

the Game::3D::Area manpage, the Game::3D::Thingy manpage as well as the SDL:App::FPS manpage, the SDL::App manpage and SDL.