Item Class Reference
[World]

The root class for any world items (bodies and forces). More...

#include <world.h>

Inheritance diagram for Item:

Object CoulombForce GravitationForce Particle RigidBody Spring WeightForce ChargedParticle Polygon List of all members.

Public Member Functions

virtual void worldItemRemoved (Item *item)
virtual void setWorld (World *world)
Worldworld () const
const QString & name () const
void setName (const QString &name)

Detailed Description

The root class for any world items (bodies and forces).


Member Function Documentation

virtual void worldItemRemoved ( Item item  )  [inline, virtual]

Called by the World when any item is removed from the world

Parameters:
item Pointer to removed item
Todo:
XXX rename

Reimplemented in Spring.

virtual void setWorld ( World world  )  [inline, virtual]

Set/change pointer to World in which this object lives

Reimplemented in Spring.

World* world (  )  const [inline]

Get pointer to World in which this object lives

Returns:
Pointer to the World or NULL

const QString& name (  )  const [inline, inherited]

Returns name of the object

void setName ( const QString &  name  )  [inline, inherited]

Set name of the object


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 14:23:37 2007 for StepCore by  doxygen 1.5.1