//
//  TowerDefenseEnemy.h
//  Orxonox
//
//  Created by Jonas Erb on 22.10.14.





#ifndef Orxonox_Tower_h
#define Orxonox_Tower_h

#include "TDCoordinate.h"
#include "gametypes/Deathmatch.h"
#include "towerdefense/TowerDefensePrereqs.h"
#include "worldentities/pawns/SpaceShip.h"
#include "util/Output.h"
#include "TowerDefense.h"

namespace orxonox
{
    /**
    @brief
    See TowerDefenseReadme.txt for Information.

    @ingroup TowerDefense
    */
    class _TowerDefenseExport TowerDefenseEnemy : public SpaceShip
    {
    public:
        TowerDefenseEnemy(Context* context);
        virtual ~TowerDefenseEnemy();

        //health gibt es unter: health_

        virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) override;

    private:
        WeakPtr<TowerDefense> getGame();
        WeakPtr<TowerDefense> game;
        TowerDefense* td;
        bool once_;
    };



}

#endif /* _TowerDefense_H__ */
