Surface Struct Reference

Inherits Attribute.

Inherited by SurfaceImpl.

List of all members.

Public Methods

virtual void addBoundingShape (BoundingShape *bs)=0
virtual int countBoundingShapes () const=0
virtual BoundingShapegetBoundingShape (int i)=0
virtual void setContactPhysics (ContactPhysics *cp)=0
virtual ContactPhysicsgetContactPhysics ()=0


Detailed Description

The entity's surface defines a hard edge for collision detection, along with parameters for collision response. The surface is described as a collection of bounding shapes.


Member Function Documentation

virtual void Surface::addBoundingShape BoundingShape   bs [pure virtual]
 

Add a bounding shape to the surface.

virtual int Surface::countBoundingShapes   const [pure virtual]
 

Returns the number of bounding shapes used by the surface.

virtual BoundingShape* Surface::getBoundingShape int    i [pure virtual]
 

Retrieve a particular bounding shape used by the surface.

virtual ContactPhysics* Surface::getContactPhysics   [pure virtual]
 

Retrieve the response physics of the surface.

virtual void Surface::setContactPhysics ContactPhysics   cp [pure virtual]
 

Specify the response physics of the surface.


The documentation for this struct was generated from the following file:


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen