/* orxonox - the future of 3D-vertical-scrollers Copyright (C) 2004 orx This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ### File Specific: main-programmer: Patrick Boenzli */ //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ #include "kill.h" #include "world_entity.h" using namespace std; /** * standard constructor */ Kill::Kill (WorldEntity* killer, WorldEntity* victim) { this->setClassID(CL_KILL, "Kill"); this->killer = killer; this->victim = victim; } /** * standard constructor */ Kill::Kill (WorldEntity* killer, Playable* victim) { this->setClassID(CL_KILL, "Kill"); this->killer = killer; this->victim = (WorldEntity*)victim; } /** * standard deconstructor */ Kill::~Kill () { // delete what has to be deleted here }