// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <config.h>
-#include "trigger_base.h"
-#include "player.h"
-#include "video/drawing_context.h"
+#include "trigger_base.hpp"
+#include "video/drawing_context.hpp"
+#include "object/player.hpp"
TriggerBase::TriggerBase()
: sprite(0)
}
void
-TriggerBase::action(float )
+TriggerBase::update(float )
{
lasthit = hit;
hit = false;
}
HitResponse
-TriggerBase::collision(GameObject& other, const CollisionHit& collhit)
+TriggerBase::collision(GameObject& other, const CollisionHit& )
{
Player* player = dynamic_cast<Player*> (&other);
if(player) {