YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ICollidable.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_ICOLLIDABLE_HPP
2
# define YAPOG_ICOLLIDABLE_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/World/ISpatial3.hpp
"
6
7
namespace
yap
8
{
9
struct
ICollidable
:
public
ISpatial3
10
{
11
virtual
~ICollidable
() { }
12
13
virtual
bool
CollidesWith
(
const
ICollidable
& other)
const
= 0;
14
virtual
bool
CollidesWith
(
15
const
ICollidable
& other,
16
const
Vector2
& offset)
const
= 0;
17
};
18
}
// namespace yap
19
20
#endif // YAPOG_ICOLLIDABLE_HPP
YAPOG
include
YAPOG
Game
World
Map
Physics
ICollidable.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1