2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
10 #ifndef CORE__DEFAULTPOLICY_H
11 #define CORE__DEFAULTPOLICY_H
13 #include "component.h"
16 class TAGUA_EXPORT DefaultPolicy
: public Component
, public IPolicy
{
19 virtual InteractionType
movable(const IState
* state
,
21 const Point
& p
) const;
23 virtual InteractionType
droppable(const IState
* state
,
25 const IColor
* pool
) const;
28 #endif // CORE__DEFAULTPOLICY_H