#include <rect_collider.hxx>
Inheritance diagram for RectCollider:


| Public Member Functions | |
| RectCollider (lisp_object_t *cursor) | |
| RectCollider (float x1_, float y1_, float x2_, float y2_) | |
| Collider * | duplicate () const | 
| Vector2d | get_pos () | 
| void | set_pos (const Vector2d &) | 
| bool | is_at (const Vector2d &pos) | 
| void | bounce () | 
| void | draw (GraphicContext *gc) | 
| void | draw_highlight (GraphicContext *gc) | 
| lisp_object_t * | serialize () | 
| 
 | 
| 
 Definition at line 33 of file rect_collider.cxx. References LispReader::read_vector(), Vector2d::x, and Vector2d::y. Referenced by duplicate(). | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 50 of file rect_collider.cxx. | 
| 
 | 
| act on a particle Implements Collider. Definition at line 80 of file rect_collider.cxx. References ParticleFactory::begin(), ParticleFactory::end(), World::get_particle_mgr(), Controller::get_world(), Controller::instance(), ParticleFactory::ParticleIter, Vector2d::x, and Vector2d::y. | 
| 
 | 
| 
 Implements Collider. Definition at line 131 of file rect_collider.cxx. References GraphicContext::draw_fill_rect(), and GraphicContext::draw_rect(). | 
| 
 | 
| 
 Implements Collider. Definition at line 139 of file rect_collider.cxx. References GraphicContext::draw_rect(). | 
| 
 | 
| 
 Implements Collider. Definition at line 28 of file rect_collider.cxx. References RectCollider(). | 
| 
 | 
| 
 Implements Collider. Definition at line 63 of file rect_collider.cxx. Referenced by set_pos(). | 
| 
 | 
| 
 
 Implements Collider. Definition at line 56 of file rect_collider.cxx. References Vector2d::x, and Vector2d::y. | 
| 
 | 
| 
 Implements Collider. Definition at line 146 of file rect_collider.cxx. References LispWriter::create_lisp(), and LispWriter::write_vector(). | 
| 
 | 
| 
 Implements Collider. Definition at line 70 of file rect_collider.cxx. References get_pos(), Vector2d::x, and Vector2d::y. | 
 1.3-rc3
1.3-rc3