#include "physics.h"
#include "../tool/point.h"
#include "../tool/rectangle.h"
Include dependency graph for physical_obj.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | PhysicalObj |
Enumerations | |
enum | alive_t { ALIVE, DEAD, GHOST, DROWNED } |
Functions | |
double | MeterDistance (const Point2i &p1, const Point2i &p2) |
Variables | |
const double | PIXEL_PER_METER |
enum alive_t |
Definition at line 49 of file physical_obj.cpp.
00050 { 00051 return p1.Distance(p2) / PIXEL_PER_METER; 00052 }
Here is the call graph for this function:
Here is the caller graph for this function:
const double PIXEL_PER_METER |
Definition at line 47 of file physical_obj.cpp.