| 753 | |
| 754 | template <typename T> |
| 755 | static bool CheckWayTestCollideEvent(int x, int y, const Game_Character& self, T& other, bool self_conflict) { |
| 756 | if (&self == &other) { |
| 757 | return false; |
| 758 | } |
| 759 | |
| 760 | if (!other.IsInPosition(x, y)) { |
| 761 | return false; |
| 762 | } |
| 763 | |
| 764 | return WouldCollide(self, other, self_conflict); |
| 765 | } |
| 766 | |
| 767 | template <typename T> |
| 768 | static bool MakeWayCollideEvent(int x, int y, const Game_Character& self, T& other, bool self_conflict) { |
no test coverage detected