SDXFrameWork 0.09 SDXFrameWork

- Main Page
- Related Pages
- Classes

All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Hit.h
1 //©SDXFramework http://sourceforge.jp/projects/dxframework/
2 namespace SDX
3 {
4 bool Complex::Hit(const Point *point) const
5 {
6 return point->Hit( this );
7 }
8 bool Complex::Hit(const Line *line) const
9 {
10 return line->Hit( this );
11 }
12 bool Complex::Hit(const Rect *rect) const
13 {
14 return rect->Hit( this );
15 }
16 bool Complex::Hit(const Circle *circle) const
17 {
18 return circle->Hit( this );
19 }
20 bool Point::Hit(const Line *line) const
21 {
22 return line->Hit( this );
23 }
24 bool Point::Hit(const Rect *rect) const
25 {
26 return rect->Hit( this );
27 }
28 bool Point::Hit(const Circle *circle) const
29 {
30 return circle->Hit( this );
31 }
32
33 bool Line::Hit(const Rect *rect) const
34 {
35 return rect->Hit( this );
36 }
37 bool Line::Hit(const Circle *circle) const
38 {
39 return circle->Hit( this );
40 }
41
42 bool Rect::Hit(const Circle *circle) const
43 {
44 return circle->Hit( this );
45 }
46 }
SDX::Point::Hit
bool Hit(const IShape *shape) const
衝突判定.
Definition: Shape.h:203
SDX::Line::Hit
bool Hit(const IShape *shape) const
衝突判定.
Definition: Shape.h:444
SDX::Rect::Hit
bool Hit(const IShape *shape) const
衝突判定.
Definition: Shape.h:646
SDX::Complex::Hit
bool Hit(const IShape *shape) const
衝突判定.
Definition: Shape.h:106