phoenix::PhStaticGeometry Struct Reference

Static geomery. More...

#include <PhPolygonCollision.h>

List of all members.

Public Attributes

PhPolygon polygon
 Polygon.
int type
 Type.


Detailed Description

Static geomery.

Static geometry does not have callbacks or userdata, it's simple a polygon and a type. This can be used for walls, or pretty much anything that doesn't really change. Also note that static geometry can be added and removed dynamically, so it isn't really static. I've also used it to represent grass (which can be cut and destroyed) in the zelda demo.


The documentation for this struct was generated from the following file:
Generated on Tue Nov 20 21:59:24 2007 for Phoenix by  doxygen 1.5.4