Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Collider Class Reference

#include <collider.hxx>

Inheritance diagram for Collider:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual Collider * duplicate () const=0
virtual void draw (GraphicContext *)=0
virtual void draw_highlight (GraphicContext *)=0
virtual Vector2d get_pos ()=0
virtual void set_pos (const Vector2d &)=0
virtual bool is_at (const Vector2d &pos)=0
virtual void bounce ()=0
virtual lisp_object_tserialize ()=0

Member Function Documentation

virtual void Collider::bounce   [pure virtual]
 

act on a particle

Implemented in RectCollider.

virtual void Collider::draw GraphicContext   [pure virtual]
 

Implemented in RectCollider.

virtual void Collider::draw_highlight GraphicContext   [pure virtual]
 

Implemented in RectCollider.

Referenced by WorldViewColliderTool::draw_foreground().

virtual Collider* Collider::duplicate   const [pure virtual]
 

Implemented in RectCollider.

virtual Vector2d Collider::get_pos   [pure virtual]
 

Implemented in RectCollider.

Referenced by WorldViewColliderTool::on_primary_button_press().

virtual bool Collider::is_at const Vector2d   pos [pure virtual]
 

Returns:
true if the collider is at the given world coordinates, used for drag&drop

Implemented in RectCollider.

virtual lisp_object_t* Collider::serialize   [pure virtual]
 

Implemented in RectCollider.

virtual void Collider::set_pos const Vector2d   [pure virtual]
 

Implemented in RectCollider.

Referenced by WorldViewColliderTool::on_mouse_move().


The documentation for this class was generated from the following file:
Generated on Thu Jul 24 10:25:14 2003 for Construo by doxygen1.3-rc3