YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
EventTriggerBoundingBoxCollection.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_EVENTTRIGGERBOUNDINGBOXCOLLECTION_HPP
2
# define YAPOG_EVENTTRIGGERBOUNDINGBOXCOLLECTION_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/World/Map/Physics/BoundingBoxCollection.hpp
"
6
7
namespace
yap
8
{
9
class
DynamicWorldObject;
10
class
MapEventQueue;
11
12
class
YAPOG_LIB
EventTriggerBoundingBoxCollection
:
public
BoundingBoxCollection
13
{
14
DISALLOW_ASSIGN
(
EventTriggerBoundingBoxCollection
);
15
16
public
:
17
18
EventTriggerBoundingBoxCollection
();
19
virtual
~
EventTriggerBoundingBoxCollection
();
20
21
EventTriggerBoundingBoxCollection
(
22
const
EventTriggerBoundingBoxCollection
& copy);
23
24
void
AddEventTriggerBoundingBox (
BoundingBox
* boundingBox);
25
void
RemoveEventTriggerBoundingBox (
BoundingBox
* boundingBox);
26
27
void
SetCollidableArea (
28
DynamicWorldObject
& parent,
29
CollidableArea
* collidableArea);
30
31
void
GetEventsCollidingWith (
32
const
CollidableArea
& collidableArea,
33
MapEventQueue
& events)
const
;
34
35
private
:
36
37
virtual
void
HandleAddBoundingBoxToCollidableArea (
38
BoundingBox
* boundingBox);
39
virtual
void
HandleRemoveBoundingBoxFromCollidableArea (
40
BoundingBox
* boundingBox);
41
42
DynamicWorldObject
*
parent_
;
43
};
44
}
// namespace yap
45
46
#endif // YAPOG_EVENTTRIGGERBOUNDINGBOXCOLLECTION_HPP
YAPOG
include
YAPOG
Game
World
Map
Physics
EventTriggerBoundingBoxCollection.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1