qaf::TubeCursorObj Class Reference

#include <qafTubeCursorObj.h>

Inheritance diagram for qaf::TubeCursorObj:

qaf::GameObj List of all members.

Detailed Description

Demonstrates moving-segment collision.

Use the arrow keys to move the blue cursor. Use the mouse to control the yellow cursor.

Press PageUp/PageDown to rotate the segment. Press NumPad +/- to change the segment's size.

A yellow "tube" is shot from the blue cursor to the yellow cursor. Red lines are drawn to display the contact points and normals.


Public Member Functions

 TubeCursorObj (float _x, float _y)
void update (int objLayer, float dt)
void render (int objLayer, float scrollX, float scrollY)

Public Attributes

Vector2D pos
Vector2D aim
Vector2D vel
float angle
float length


The documentation for this class was generated from the following file:
Generated on Sun Mar 25 12:32:14 2007 for Qaf Framework by  doxygen 1.5.1-p1