Game::3D::Physical - an 3D object with mass



NAME

Game::3D::Physical - an 3D object with mass


SYNOPSIS

        use Game::3D::Physical;
        my $object = Game::3D::Physical->new( mass => 45 );
        $object->mass(123);


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:

mass()
        print $object->mass();
        $object->mass(123);
        
        Set and return or just return the object's mass (in simple units).


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.