robots/src/Hero.h

25 lines
402 B
C++
Executable File

/**
* Copyright (C) David Wolfe, 1999. All rights reserved.
* Ported to Qt and adapted for TDDD86, 2015.
*/
#ifndef HERO_H
#define HERO_H
#include "Unit.h"
#include <QGraphicsScene>
class Hero : public Unit {
public:
Unit *clone() const override;
/*
* Draws this hero onto the given QGraphicsScene.
*/
void draw(QGraphicsScene *scene) const override;
};
#endif // HERO_H